Commit 6a3e89a7 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch '342788-explicit-titles-for-sorting' into 'master'

Set explicit titles for sorting scopes

See merge request gitlab-org/gitlab!72079
parents 7db03610 4bf57034
......@@ -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