-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reword mailer specs doc strings for ensuring deliveries are cleared #2295
Conversation
Thanks. Much better. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -257,8 +257,8 @@ def self.application; end | |||
expect(group.new).to be_a(RSpec::Rails::MailerExampleGroup) | |||
end | |||
|
|||
describe 'leans test mailbox after each example' do | |||
let(:base_mailer) do | |||
describe 'clears ActionMailer::Base::Deliveries after each example' do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the late appearance. Do you think it makes sense to add order: :defined
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Their is no need. You need at least two example, order does not mater. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep they are order independant, they just need different emails.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Reword mailer specs doc strings for ensuring deliveries are cleared
No description provided.