spec/models/area_spec.rb in pupa-0.1.11 vs spec/models/area_spec.rb in pupa-0.2.0

- old
+ new

@@ -5,9 +5,9 @@ Pupa::Area.new(name: 'Boston Ward 1') end describe '#to_s' do it 'should return a human-readable string' do - object.to_s.should == 'Boston Ward 1' + expect(object.to_s).to eq('Boston Ward 1') end end end