spec/models/message_spec.rb in alchemy_cms-2.8.3 vs spec/models/message_spec.rb in alchemy_cms-2.9.0

- old
+ new

@@ -21,23 +21,7 @@ it "should call .attributes" do Message.should_receive(:attributes) message.attributes end end - - describe '#email_is_filled' do - context 'if email attribute is filled' do - it "should return true" do - message.stub!(:email).and_return('me@you.com') - expect(message.send(:email_is_filled)).to eq(true) - end - end - - context 'if email attribute is not filled' do - it "should return false" do - message.stub!(:email).and_return('') - expect(message.send(:email_is_filled)).to eq(false) - end - end - end end end