fix notification tests
This commit is contained in:
parent
c940767f2a
commit
839aa7357a
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue