Skip to content

Commit

Permalink
Mark default_from mailer spec as pending if no default from address h…
Browse files Browse the repository at this point in the history
…as been set
  • Loading branch information
reidab committed Nov 5, 2011
1 parent c11f3ae commit d243d5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/mailers/person_mailer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
end

it "will be addressed from the default from address" do
pending "No default from address was set, please add one in settings.yml" \
if SETTINGS['mailer']['default_from'].nil?

mail.from.should == [SETTINGS['mailer']['default_from']]
end

Expand Down

0 comments on commit d243d5f

Please sign in to comment.