diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-18 03:59:19 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-22 13:13:46 +0300 |
commit | 2120e2dd95dbbab81c4b818d6d860139bb6c5f0b (patch) | |
tree | 45c46b71d93851138f02d0891c5581616273e0d3 /spec/models | |
parent | 213d1a4768b4bb83aa1ca827682468c381cbe9c9 (diff) |
Replace remaining references to `Note.create_cross_reference_note`
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/concerns/mentionable_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/concerns/mentionable_spec.rb b/spec/models/concerns/mentionable_spec.rb index 22237f2e9f2..f7f66987b5f 100644 --- a/spec/models/concerns/mentionable_spec.rb +++ b/spec/models/concerns/mentionable_spec.rb @@ -23,7 +23,7 @@ describe Issue, "Mentionable" do end it 'correctly removes already-mentioned Commits' do - expect(Note).not_to receive(:create_cross_reference_note) + expect(SystemNoteService).not_to receive(:cross_reference) issue.create_cross_references!(project, author, [commit2]) end |