Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-26 13:17:49 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-26 13:17:49 +0400
commite3e8b9fcb9299b6772c0936e8202137cc372fc53 (patch)
tree1d8308df8942f88e4d1a07a8780a09a5d010b7c4 /spec
parentbfebf108508fa011294c36ad59a4943173c309b2 (diff)
fixed tests
Diffstat (limited to 'spec')
-rw-r--r--spec/services/notification_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/notification_service_spec.rb b/spec/services/notification_service_spec.rb
index 3869db71ab3..eea2a2df742 100644
--- a/spec/services/notification_service_spec.rb
+++ b/spec/services/notification_service_spec.rb
@@ -31,14 +31,14 @@ describe NotificationService do
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