Skip to content
Snippets Groups Projects
Commit 839aa735 authored by Valery Sizov's avatar Valery Sizov
Browse files

fix notification tests

parent c940767f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -147,13 +147,12 @@ describe "Issues" do
click_button "Save"
end
 
it "should send valid email to user with email & password" do
it "should send valid email to user" do
click_button "Save"
issue = Issue.last
email = ActionMailer::Base.deliveries.last
email.subject.should have_content("New Issue was created")
email.body.should have_content(issue.title)
email.body.should have_content(issue.assignee.name)
end
 
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment