diff options
author | Nick Thomas <nick@gitlab.com> | 2018-01-17 14:30:25 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2018-01-24 20:25:55 +0300 |
commit | 93ea3234dfaa43204c5f24d4010bbe5070d75c72 (patch) | |
tree | dab7e978b28b6dc79349a3e084fad36175cf55d7 /spec/features/merge_request | |
parent | 5a4fb8f0d183c7dd1560c90e750a7a37141c22d4 (diff) |
Use the DatabaseCleaner 'deletion' strategy instead of 'truncation'
Diffstat (limited to 'spec/features/merge_request')
-rw-r--r-- | spec/features/merge_request/user_resolves_diff_notes_and_discussions_resolve_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/merge_request/user_resolves_diff_notes_and_discussions_resolve_spec.rb b/spec/features/merge_request/user_resolves_diff_notes_and_discussions_resolve_spec.rb index 590210d44ef..3e83a549682 100644 --- a/spec/features/merge_request/user_resolves_diff_notes_and_discussions_resolve_spec.rb +++ b/spec/features/merge_request/user_resolves_diff_notes_and_discussions_resolve_spec.rb @@ -108,7 +108,7 @@ describe 'Merge request > User resolves diff notes and discussions', :js do it 'shows resolved discussion when toggled' do find(".timeline-content .discussion[data-discussion-id='#{note.discussion_id}'] .discussion-toggle-button").click - expect(page.find(".timeline-content #note_#{note.noteable_id}")).to be_visible + expect(page.find(".timeline-content #note_#{note.id}")).to be_visible end end |