Sha256: 72f049cd0dac5bbd8b478bed5c51cd2b1d8a99ea06306954b82eea4fee56b474
Contents?: true
Size: 393 Bytes
Versions: 5
Compression:
Stored size: 393 Bytes
Contents
require 'spec_helper' describe MailManager::MailingList do context "a valid mailing list" do before(:each) do @mailing_list = FactoryGirl.build(:mailing_list) end it "must have a name" do @mailing_list.name.present?.should be_true @mailing_list.valid?.should be_true @mailing_list.name = nil @mailing_list.valid?.should be_false end end end
Version data entries
5 entries across 5 versions & 1 rubygems