spec/components/reporters/marshal_spec.rb in arachni-1.2.1 vs spec/components/reporters/marshal_spec.rb in arachni-1.3
- old
+ new
@@ -2,12 +2,12 @@
describe name_from_filename do
include_examples 'reporter'
test_with_full_report do
- Marshal.dump( full_report.to_h ).should == IO.read( outfile )
+ expect(Marshal.dump( full_report.to_h )).to eq(IO.read( outfile ))
end
test_with_empty_report do
- Marshal.dump( empty_report.to_h ).should == IO.read( outfile )
+ expect(Marshal.dump( empty_report.to_h )).to eq(IO.read( outfile ))
end
end