Commit 4bf57034 authored by Luke Duncalfe's avatar Luke Duncalfe

Set explicit titles for sorting scopes

https://gitlab.com/gitlab-org/gitlab/-/issues/342788
parent 4fe41b1e
......@@ -24,8 +24,8 @@ RSpec.describe Epic do
end
describe 'scopes' do
let_it_be(:confidential_epic) { create(:epic, confidential: true, group: group) }
let_it_be(:public_epic) { create(:epic, group: group) }
let_it_be(:confidential_epic) { create(:epic, confidential: true, group: group, title: 'Foo 1') }
let_it_be(:public_epic) { create(:epic, group: group, title: 'Foo 2') }
describe '.public_only' do
it 'only returns public epics' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment