diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-01 18:07:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-01 18:07:45 +0300 |
commit | 1219a9dce91f4edbc135dfc08299b4122b4825a8 (patch) | |
tree | e7d12a55d75a2d56e60d9527bef3724e3578866d /spec/models/user_preference_spec.rb | |
parent | 1a0d6dbdc2ac3047f4953a359ef27ba6e26074ae (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/user_preference_spec.rb')
-rw-r--r-- | spec/models/user_preference_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/user_preference_spec.rb b/spec/models/user_preference_spec.rb index 7884b87cc26..cf32d4eeca7 100644 --- a/spec/models/user_preference_spec.rb +++ b/spec/models/user_preference_spec.rb @@ -53,7 +53,7 @@ describe UserPreference do it 'returns the current notes filter' do user_preference.set_notes_filter(only_comments, issuable) - expect(user_preference.set_notes_filter(9999, issuable)).to eq(only_comments) + expect(user_preference.set_notes_filter(non_existing_record_id, issuable)).to eq(only_comments) end end end |