Permalink
Browse files

fixed tests

  • Loading branch information...
1 parent bfebf10 commit e3e8b9fcb9299b6772c0936e8202137cc372fc53 @dzaporozhets dzaporozhets committed Mar 26, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/services/notification_service_spec.rb
@@ -31,14 +31,14 @@
describe :reassigned_issue do
it 'should sent email to issue old assignee and new issue assignee' do
- Notify.should_receive(:reassigned_issue_email).twice
+ Notify.should_receive(:reassigned_issue_email)
notification.reassigned_issue(issue, issue.author)
end
end
describe :close_issue do
it 'should sent email to issue assignee and issue author' do
- Notify.should_receive(:issue_status_changed_email).twice
+ Notify.should_receive(:issue_status_changed_email)
notification.close_issue(issue, issue.author)
end
end

0 comments on commit e3e8b9f

Please sign in to comment.