Commit e3e8b9fcb9299b6772c0936e8202137cc372fc53
1 parent
bfebf108
Exists in
master
and in
4 other branches
fixed tests
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
spec/services/notification_service_spec.rb
| @@ -31,14 +31,14 @@ describe NotificationService do | @@ -31,14 +31,14 @@ describe NotificationService do | ||
| 31 | 31 | ||
| 32 | describe :reassigned_issue do | 32 | describe :reassigned_issue do |
| 33 | it 'should sent email to issue old assignee and new issue assignee' do | 33 | it 'should sent email to issue old assignee and new issue assignee' do |
| 34 | - Notify.should_receive(:reassigned_issue_email).twice | 34 | + Notify.should_receive(:reassigned_issue_email) |
| 35 | notification.reassigned_issue(issue, issue.author) | 35 | notification.reassigned_issue(issue, issue.author) |
| 36 | end | 36 | end |
| 37 | end | 37 | end |
| 38 | 38 | ||
| 39 | describe :close_issue do | 39 | describe :close_issue do |
| 40 | it 'should sent email to issue assignee and issue author' do | 40 | it 'should sent email to issue assignee and issue author' do |
| 41 | - Notify.should_receive(:issue_status_changed_email).twice | 41 | + Notify.should_receive(:issue_status_changed_email) |
| 42 | notification.close_issue(issue, issue.author) | 42 | notification.close_issue(issue, issue.author) |
| 43 | end | 43 | end |
| 44 | end | 44 | end |