summaryrefslogtreecommitdiff
path: root/spec/helpers/notes_helper_spec.rb
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2018-12-21 17:00:26 +0000
committerWinnie Hellmann <winnie@gitlab.com>2018-12-21 17:00:26 +0000
commit0817c21067429842ec15f1e2f3088bc13b6bf57c (patch)
treeec25f4089d9dcec0e5de4c053ab3383bc58817f5 /spec/helpers/notes_helper_spec.rb
parenta9049532a271117983430d2d80b8ad61879ecf7a (diff)
downloadgitlab-ce-0817c21067429842ec15f1e2f3088bc13b6bf57c.tar.gz
Revert "Merge branch 'winh-discussion-header-commented' into 'master'"
This reverts merge request !23622
Diffstat (limited to 'spec/helpers/notes_helper_spec.rb')
-rw-r--r--spec/helpers/notes_helper_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/notes_helper_spec.rb b/spec/helpers/notes_helper_spec.rb
index 0715f34dafe..21461e46cf4 100644
--- a/spec/helpers/notes_helper_spec.rb
+++ b/spec/helpers/notes_helper_spec.rb
@@ -185,8 +185,8 @@ describe NotesHelper do
context 'for a non-diff discussion' do
let(:discussion) { create(:discussion_note_on_commit, project: project).to_discussion }
- it 'returns the commit path with the note anchor' do
- expect(helper.discussion_path(discussion)).to eq(project_commit_path(project, commit, anchor: "note_#{discussion.first_note.id}"))
+ it 'returns the commit path' do
+ expect(helper.discussion_path(discussion)).to eq(project_commit_path(project, commit))
end
end
end