Commit f0cbe1de authored by Samuel E. Giddins's avatar Samuel E. Giddins

[Installer] Stub out sending stats in the specs

parent b6353e40
require File.expand_path('../../spec_helper', __FILE__) require File.expand_path('../../spec_helper', __FILE__)
require 'cocoapods_stats/sender'
# @return [Lockfile] # @return [Lockfile]
# #
def generate_lockfile def generate_lockfile
...@@ -36,6 +38,7 @@ end ...@@ -36,6 +38,7 @@ end
module Pod module Pod
describe Installer do describe Installer do
before do before do
CocoaPodsStats::Sender.any_instance.stubs(:send)
podfile = generate_podfile podfile = generate_podfile
lockfile = generate_lockfile lockfile = generate_lockfile
config.integrate_targets = false config.integrate_targets = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment