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

- old
+ new

@@ -5,9 +5,9 @@ Pupa::Vote.new(option: 'yes', voter_id: 'john-q-public', vote_event_id: 'vote-42') end describe '#to_s' do it 'should return a human-readable string' do - object.to_s.should == 'yes by john-q-public in vote-42' + expect(object.to_s).to eq('yes by john-q-public in vote-42') end end end