summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-01-25 10:43:37 +0000
committerPhil Hughes <me@iamphill.com>2017-01-25 10:43:37 +0000
commit2fb635888b798c08dd6e8d0481bf1568127d182c (patch)
treeb85838e56c8ffd79a27f4adbca3cde0bbee72e45
parent1138afe7c0c0ae2b80b5282aff42e6399328eea8 (diff)
downloadgitlab-ce-2fb635888b798c08dd6e8d0481bf1568127d182c.tar.gz
Fixed error with filter keyboard tests
Issue filter now appends a space & the test wasn't taking this into account when checking the value
-rw-r--r--spec/features/issues/filtered_search/dropdown_label_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/issues/filtered_search/dropdown_label_spec.rb b/spec/features/issues/filtered_search/dropdown_label_spec.rb
index 71e0608a664..f09ad2dd86b 100644
--- a/spec/features/issues/filtered_search/dropdown_label_spec.rb
+++ b/spec/features/issues/filtered_search/dropdown_label_spec.rb
@@ -46,7 +46,7 @@ describe 'Dropdown label', js: true, feature: true do
filtered_search.native.send_keys(:down, :down, :enter)
- expect(filtered_search.value).to eq("label:~#{special_label.name}")
+ expect(filtered_search.value).to eq("label:~#{special_label.name} ")
end
end