Commit 48eb8a6a37910a57449ffd5851c3498b10ea28ba

Authored by Cyril Mougel
1 parent 519822da
Exists in master and in 1 other branch production

fix spec about spec/mailers/mailer with fabrication_gem

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
spec/mailers/mailer_spec.rb
@@ -6,7 +6,7 @@ describe Mailer do @@ -6,7 +6,7 @@ describe Mailer do
6 include EmailSpec::Matchers 6 include EmailSpec::Matchers
7 7
8 before do 8 before do
9 - @notice = Factory(:notice, :message => "class < ActionController::Base") 9 + @notice = Fabricate(:notice, :message => "class < ActionController::Base")
10 @email = Mailer.err_notification(@notice).deliver 10 @email = Mailer.err_notification(@notice).deliver
11 end 11 end
12 12