From 2fb635888b798c08dd6e8d0481bf1568127d182c Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Wed, 25 Jan 2017 10:43:37 +0000 Subject: [PATCH] Fixed error with filter keyboard tests Issue filter now appends a space & the test wasn't taking this into account when checking the value --- spec/features/issues/filtered_search/dropdown_label_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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