You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If in my factory user full name generate like ('Jermain O'Keefe') rspec test will be fall with follow message:
expected the body to contain "Jermain O'Keefe" but was "<p>Jermain O'Keefe!</p>
Rspec story:
feature "Send notification" do
subject { NotifyMailer.send_notify(user) }
scenario "User gets notification" do
expect(subject).to have_body_text(user.full_name)
end
end
The text was updated successfully, but these errors were encountered:
If in my factory user full name generate like ('Jermain O'Keefe') rspec test will be fall with follow message:
expected the body to contain "Jermain O'Keefe" but was "<p>Jermain O'Keefe!</p>
Rspec story:
The text was updated successfully, but these errors were encountered: