Skip to content
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

Merged
merged 1 commit into from
Mar 21, 2020

Conversation

JonRowe
Copy link
Member

@JonRowe JonRowe commented Mar 21, 2020

No description provided.

@JonRowe JonRowe requested a review from benoittgt March 21, 2020 19:54
@JonRowe JonRowe changed the title Reword mailer specs to ensure deliveries are cleared Reword mailer specs doc strings for ensuring deliveries are cleared Mar 21, 2020
@benoittgt
Copy link
Member

Thanks. Much better.

@JonRowe JonRowe merged commit e886b55 into master Mar 21, 2020
@JonRowe JonRowe deleted the reword-specs branch March 21, 2020 20:53
Copy link
Member

@pirj pirj left a 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
Copy link
Member

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?

Copy link
Member

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. :)

Copy link
Member Author

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.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

JonRowe added a commit that referenced this pull request Mar 24, 2020
Reword mailer specs doc strings for ensuring deliveries are cleared
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants