Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Commit

Permalink
Don't check ActionMailer::Base.deliveries.empty?
Browse files Browse the repository at this point in the history
Since tests are ran in semi-random order (good), it's impossible to assert
  • Loading branch information
nathanstitt committed Apr 14, 2014
1 parent 14088b7 commit 3dab4e3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/models/account_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ class AccountTest < ActiveSupport::TestCase
end

it "delivers account emails" do
assert ActionMailer::Base.deliveries.empty?
louis.send_login_instructions
mail = ActionMailer::Base.deliveries.last
assert mail
Expand Down

0 comments on commit 3dab4e3

Please sign in to comment.