Sha256: 4c6519617fd2ee35b735ad3a5b33f21d2bc183e8e90ad13d1820ef95a09714da
Contents?: true
Size: 557 Bytes
Versions: 2
Compression:
Stored size: 557 Bytes
Contents
require 'spec_helper' module Alchemy describe Message do let(:message) { Message.new } describe '.config' do it "should return the mailer config" do Config.should_receive(:get).with(:mailer) Message.config end end describe '#persisted?' do it "should return false" do expect(message.persisted?).to eq(false) end end describe '#attributes' do it "should call .attributes" do Message.should_receive(:attributes) message.attributes end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
alchemy_cms-2.9.1 | spec/models/message_spec.rb |
alchemy_cms-2.9.0 | spec/models/message_spec.rb |