diff options
| author | Douwe Maan <douwe@gitlab.com> | 2015-04-15 15:56:21 +0200 |
|---|---|---|
| committer | Douwe Maan <douwe@gitlab.com> | 2015-04-15 17:57:31 +0200 |
| commit | 959ebbcade63423048320daaa814634c41842a36 (patch) | |
| tree | fb2f8392d60cdabe6ed9b0ad47a43909b3866762 /spec/services | |
| parent | b73ffbd3cb7dd89f54351b74e0cf4d1df63f0310 (diff) | |
| download | gitlab-ce-959ebbcade63423048320daaa814634c41842a36.tar.gz | |
Clean up code around commit mentions.
Diffstat (limited to 'spec/services')
| -rw-r--r-- | spec/services/notification_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/notification_service_spec.rb b/spec/services/notification_service_spec.rb index bfca2c88264..0faff48c059 100644 --- a/spec/services/notification_service_spec.rb +++ b/spec/services/notification_service_spec.rb @@ -149,7 +149,7 @@ describe NotificationService do before do build_team(note.project) - note.stub(:commit_author => @u_committer) + allow_any_instance_of(Commit).to receive(:author).and_return() end describe :new_note do |
