spec/mailer_spec.rb in maily-0.8.1 vs spec/mailer_spec.rb in maily-0.8.2

- old
+ new

@@ -2,10 +2,10 @@ describe Maily::Mailer do let(:mailer) { Maily::Mailer.find('notifier') } it "should load mailers" do - expect(Maily::Mailer.all.keys).to eq(['application_mailer', 'notifier']) + expect(Maily::Mailer.all.keys).to include('application_mailer', 'notifier') end it "should build emails" do expect(mailer.emails.size).to eq(7) end