Commit fc7c7cb9 authored by Rémy Coutable's avatar Rémy Coutable

Fix a broken spec

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 75275d97
......@@ -132,19 +132,13 @@ describe 'Filter merge requests', feature: true do
end
end
describe 'for assignee and label from issues#index' do
describe 'for assignee and label from mr#index' do
let(:search_query) { "assignee:@#{user.username} label:~#{label.title}" }
before do
input_filtered_search("assignee:@#{user.username}")
expect_mr_list_count(1)
expect_tokens([{ name: 'assignee', value: "@#{user.username}" }])
expect_filtered_search_input_empty
input_filtered_search_keys("label:~#{label.title}")
input_filtered_search(search_query)
expect_mr_list_count(1)
expect_mr_list_count(0)
end
context 'assignee and label', js: true 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