Sha256: c7ddb61b3284d74ff019a8ecd79dfa63b7ce945c3062febfb694025f11be013e
Contents?: true
Size: 473 Bytes
Versions: 6
Compression:
Stored size: 473 Bytes
Contents
require 'spec_helper' describe Notifiable::Notification do it "stores a message" do Notifiable::Notification.create(:message => "Test message") Notifiable::Notification.first.message.should eql "Test message" end it "stores params" do Notifiable::Notification.create :params => {:custom_property => "A different message"} Notifiable::Notification.first.params.should == {:custom_property => "A different message"} end end
Version data entries
6 entries across 6 versions & 1 rubygems