Commit 5cfa2cb4 authored by Sylvain Guillopé's avatar Sylvain Guillopé

[Repo Command] Fix expected exception message in test

Informative exception message was changed in production code but hadn't
been updated in the corresponding test.
parent 0b81acd6
......@@ -45,7 +45,7 @@ module Pod
raise SystemCallError, 'Operation not permitted'
end
e = lambda { run_command('repo', 'add', 'private', test_repo_path) }.should.raise Informative
e.message.should.match /Could not create repos directory '#{tmp_repos_path}'/
e.message.should.match /Could not create '#{tmp_repos_path}', the CocoaPods repo cache directory./
end
end
end
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