Commit f1b6cf1e authored by Marius Rackwitz's avatar Marius Rackwitz

[Spec] Remove useless setup of skip_repo_update

parent fd1b30c5
...@@ -66,7 +66,6 @@ module Pod ...@@ -66,7 +66,6 @@ module Pod
#--------------------------------------# #--------------------------------------#
it 'does not update unused sources' do it 'does not update unused sources' do
config.skip_repo_update = false
@analyzer.stubs(:sources).returns(SourcesManager.master) @analyzer.stubs(:sources).returns(SourcesManager.master)
SourcesManager.expects(:update).once.with('master') SourcesManager.expects(:update).once.with('master')
@analyzer.update_repositories @analyzer.update_repositories
...@@ -77,7 +76,6 @@ module Pod ...@@ -77,7 +76,6 @@ module Pod
source 'https://github.com/CocoaPods/Specs.git' source 'https://github.com/CocoaPods/Specs.git'
# No dependencies specified # No dependencies specified
end end
config.skip_repo_update = false
config.verbose = true config.verbose = true
SourcesManager.expects(:update).never SourcesManager.expects(:update).never
...@@ -96,7 +94,6 @@ module Pod ...@@ -96,7 +94,6 @@ module Pod
project 'SampleProject/SampleProject' project 'SampleProject/SampleProject'
pod 'BananaLib', '1.0' pod 'BananaLib', '1.0'
end end
config.skip_repo_update = false
config.verbose = true config.verbose = true
source = Source.new(non_git_repo) source = Source.new(non_git_repo)
...@@ -118,7 +115,6 @@ module Pod ...@@ -118,7 +115,6 @@ module Pod
pod 'BananaLib', '1.0', :source => repo_url pod 'BananaLib', '1.0', :source => repo_url
pod 'JSONKit', :source => repo_url pod 'JSONKit', :source => repo_url
end end
config.skip_repo_update = false
config.verbose = true config.verbose = true
# Note that we are explicitly ignoring 'repo_1' since it isn't used. # Note that we are explicitly ignoring 'repo_1' since it isn't used.
......
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