spec/xcpretty/reporters/reporter_spec.rb in xcpretty-0.2.3 vs spec/xcpretty/reporters/reporter_spec.rb in xcpretty-0.2.4

- old
+ new

@@ -11,20 +11,20 @@ @reporter = Reporter.new(path: "example_file") end it "reports a passing test" do @reporter.format_passing_test("RACCommandSpec", "_tupleByAddingObject__should_add_a_non_nil_object", "0.001") - expect(@reporter.tests).to include("_tupleByAddingObject__should_add_a_non_nil_object PASSED") + @reporter.tests.should include("_tupleByAddingObject__should_add_a_non_nil_object PASSED") end it "reports a failing test" do @reporter.format_failing_test("RACCommandSpec", "enabled_signal_should_send_YES_while_executing_is_YES_and_allowsConcurrentExecution_is_YES", "expected: 1, got: 0", 'path/to/file') - expect(@reporter.tests).to include("enabled_signal_should_send_YES_while_executing_is_YES_and_allowsConcurrentExecution_is_YES in path/to/file FAILED: expected: 1, got: 0") + @reporter.tests.should include("enabled_signal_should_send_YES_while_executing_is_YES_and_allowsConcurrentExecution_is_YES in path/to/file FAILED: expected: 1, got: 0") end it "reports a pending test" do @reporter.format_pending_test("RACCommandSpec", "_tupleByAddingObject__should_add_a_non_nil_object") - expect(@reporter.tests).to include("_tupleByAddingObject__should_add_a_non_nil_object IS PENDING") + @reporter.tests.should include("_tupleByAddingObject__should_add_a_non_nil_object IS PENDING") end it "writes to disk" do @reporter.format_passing_test("RACCommandSpec", "_tupleByAddingObject__should_add_a_non_nil_object", "0.001") file = double("file stub")