Commit 839aa7357a6bcfc881ef01cfd37ac618817a16df
1 parent
c940767f
Exists in
master
and in
4 other branches
fix notification tests
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
spec/requests/issues_spec.rb
| ... | ... | @@ -147,13 +147,12 @@ describe "Issues" do |
| 147 | 147 | click_button "Save" |
| 148 | 148 | end |
| 149 | 149 | |
| 150 | - it "should send valid email to user with email & password" do | |
| 150 | + it "should send valid email to user" do | |
| 151 | 151 | click_button "Save" |
| 152 | 152 | issue = Issue.last |
| 153 | 153 | email = ActionMailer::Base.deliveries.last |
| 154 | 154 | email.subject.should have_content("New Issue was created") |
| 155 | 155 | email.body.should have_content(issue.title) |
| 156 | - email.body.should have_content(issue.assignee.name) | |
| 157 | 156 | end |
| 158 | 157 | |
| 159 | 158 | end | ... | ... |