Commit e3e8b9fcb9299b6772c0936e8202137cc372fc53

Authored by Dmitriy Zaporozhets
1 parent bfebf108

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 31  
32 32 describe :reassigned_issue do
33 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 35 notification.reassigned_issue(issue, issue.author)
36 36 end
37 37 end
38 38  
39 39 describe :close_issue do
40 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 42 notification.close_issue(issue, issue.author)
43 43 end
44 44 end
... ...