spec/unit/time/pred_spec.rb in axiom-0.1.1 vs spec/unit/time/pred_spec.rb in axiom-0.2.0
- old
+ new
@@ -12,8 +12,8 @@
it 'returns the time 1 second ago' do
should eql(object - 1)
end
it 'is the inverse of #succ' do
- (subject + 1).should eql(object)
+ expect(subject + 1).to eql(object)
end
end