spec/xcpretty/parser_spec.rb in xcpretty-0.2.7 vs spec/xcpretty/parser_spec.rb in xcpretty-0.2.8
- old
+ new
@@ -199,11 +199,11 @@
@parser.parse(SAMPLE_BITCODE_LD)
end
it "parses passing ocunit tests" do
@formatter.should receive(:format_passing_test).with('RACCommandSpec',
- 'enabled_signal_should_send_YES_while_executing_is_YES_and_allowsConcurrentExecution_is_YES',
+ 'enabled_signal_should_send_YES_while_executing_is_YES',
'0.001')
@parser.parse(SAMPLE_OCUNIT_TEST)
end
it "parses passing specta tests" do
@@ -520,9 +520,16 @@
end
it "parses code signing is required error" do
@formatter.should receive(:format_error)
@parser.parse(SAMPLE_CODE_SIGNING_IS_REQUIRED_ERROR)
+ end
+
+ it "parses module includes error" do
+ @formatter.should receive(:format_error).with(
+ "error: umbrella header for module 'ModuleName' does not include header 'Header.h'"
+ )
+ @parser.parse(SAMPLE_MODULE_INCLUDES_ERROR)
end
end
context "warnings" do
it 'parses compiler warnings' do