spec/lib/flapjack/data/message_spec.rb in flapjack-0.7.27 vs spec/lib/flapjack/data/message_spec.rb in flapjack-0.7.28

- old
+ new

@@ -1,10 +1,10 @@ require 'spec_helper' require 'flapjack/data/message' describe Flapjack::Data::Message do - let(:contact) { mock(Flapjack::Data::Contact) } + let(:contact) { double(Flapjack::Data::Contact) } it "assigns itself an ID" do message = Flapjack::Data::Message.for_contact(contact) mid = message.id mid.should_not be_nil \ No newline at end of file