1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Avoid should in test names

This commit is contained in:
Rafael Mendonça França 2017-01-30 13:28:31 -05:00
parent 735aa635c5
commit 0435d65000
No known key found for this signature in database
GPG key ID: FC23B6D0F1EEE948

View file

@ -33,7 +33,7 @@ class ParameterizedTest < ActiveSupport::TestCase
assert_equal("So says david@basecamp.com", @mail.body.encoded)
end
test "should enqueue the email with params" do
test "enqueue the email with params" do
assert_performed_with(job: ActionMailer::Parameterized::DeliveryJob, args: ["ParamsMailer", "invitation", "deliver_now", { inviter: "david@basecamp.com", invitee: "jason@basecamp.com" } ]) do
@mail.deliver_later
end