Commit 5a101fb Matt Delves
committed
1 parent 0bb51de commit 5a101fb Copy full SHA for 5a101fb
File tree 3 files changed +3
-3
lines changed
spec/slather/coverage_service
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 33
33
source_node . content = ''
34
34
end
35
35
36
- EquivalentXml . equivalent? ( current_xml_doc , fixture_xml_doc ) . should be_truthy
36
+ expect ( EquivalentXml . equivalent? ( current_xml_doc , fixture_xml_doc ) ) . to be_truthy
37
37
end
38
38
39
39
it "should create an XML report in the given output directory" do
Original file line number Diff line number Diff line change 122
122
fixtures_project . post
123
123
expect ( File . exist? ( "coveralls_json_file" ) ) . to be_falsy
124
124
fixtures_project . stub ( :travis_job_id ) . and_return ( nil )
125
- expect { fixtures_project . post } . to raise_error
125
+ expect { fixtures_project . post } . to raise_error ( StandardError )
126
126
expect ( File . exist? ( "coveralls_json_file" ) ) . to be_falsy
127
127
end
128
128
end
Original file line number Diff line number Diff line change 80
80
fixtures_project . post
81
81
expect ( File . exist? ( "hardcover_json_file" ) ) . to be_falsy
82
82
fixtures_project . stub ( :jenkins_job_id ) . and_return ( nil )
83
- expect { fixtures_project . post } . to raise_error
83
+ expect { fixtures_project . post } . to raise_error ( StandardError )
84
84
expect ( File . exist? ( "hardcover_json_file" ) ) . to be_falsy
85
85
end
86
86
end
You can’t perform that action at this time.
0 commit comments