Commit 2c5ef52b authored by Samuel E. Giddins's avatar Samuel E. Giddins

[SourcesManagerSpec] Dont wait for timeout when no network access

parent 16543022
...@@ -251,7 +251,7 @@ module Pod ...@@ -251,7 +251,7 @@ module Pod
UI.warnings = '' UI.warnings = ''
set_up_test_repo_for_update set_up_test_repo_for_update
Dir.chdir(test_repo_path) do Dir.chdir(test_repo_path) do
`git remote set-url origin https://example.com` `git remote set-url origin file:///dev/null`
end end
SourcesManager.update(test_repo_path.basename.to_s, true) SourcesManager.update(test_repo_path.basename.to_s, true)
UI.warnings.should.include('not able to update the `master` repo') UI.warnings.should.include('not able to update the `master` repo')
......
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