Commit 7290b882 authored by Fabio Pelosin's avatar Fabio Pelosin

[Specs] xcodebuild fix for Travis

parent 0011c395
...@@ -162,7 +162,9 @@ describe "Pod::Command::Spec lint" do ...@@ -162,7 +162,9 @@ describe "Pod::Command::Spec lint" do
# those two checks are merged because pod install is computationally expensive # those two checks are merged because pod install is computationally expensive
cmd = command('spec', 'lint') cmd = command('spec', 'lint')
Dir.chdir(temporary_directory) { lambda { cmd.run }.should.raise Pod::Informative } Dir.chdir(temporary_directory) { lambda { cmd.run }.should.raise Pod::Informative }
cmd.output.should.include "JSONKit/JSONKit.m:1640:27: warning: equality comparison with extraneous parentheses" unless `which xcodebuild`.strip.empty?
cmd.output.should.include "JSONKit/JSONKit.m:1640:27: warning: equality comparison with extraneous parentheses"
end
cmd.output.should.include "- ERROR | [resources = 'WRONG_FOLDER'] -> did not match any file" cmd.output.should.include "- ERROR | [resources = 'WRONG_FOLDER'] -> did not match any file"
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