spec/models/motion_spec.rb in pupa-0.1.11 vs spec/models/motion_spec.rb in pupa-0.2.0
- old
+ new
@@ -5,9 +5,9 @@
Pupa::Motion.new(text: 'That the Bill is to be read a second time.', organization_id: 'house-of-commons')
end
describe '#to_s' do
it 'should return a human-readable string' do
- object.to_s.should == 'That the Bill is to be read a second time. in house-of-commons'
+ expect(object.to_s).to eq('That the Bill is to be read a second time. in house-of-commons')
end
end
end