diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2017-03-07 14:37:22 -0600 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-03-07 23:16:07 -0600 |
commit | af178560c050518c2a1aa8aea0357faafb35377e (patch) | |
tree | ed36bd910b99c211bad2009513e750929a37f997 /spec/features | |
parent | f44fb5cfd0cc4baada4d88f9724c74fc44326637 (diff) | |
download | gitlab-ce-af178560c050518c2a1aa8aea0357faafb35377e.tar.gz |
Code improvementsfiltered-search-visual-tokens-improvements
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/issues/filtered_search/filter_issues_spec.rb | 4 | ||||
-rw-r--r-- | spec/features/merge_requests/filter_by_labels_spec.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/issues/filtered_search/filter_issues_spec.rb b/spec/features/issues/filtered_search/filter_issues_spec.rb index 35bd37933bc..f079a9627e4 100644 --- a/spec/features/issues/filtered_search/filter_issues_spec.rb +++ b/spec/features/issues/filtered_search/filter_issues_spec.rb @@ -112,7 +112,7 @@ describe 'Filter issues', js: true, feature: true do end context 'author with other filters' do - search_term = 'issue' + let(:search_term) { 'issue' } it 'filters issues by searched author and text' do input_filtered_search("author:@#{user.username} #{search_term}") @@ -536,7 +536,7 @@ describe 'Filter issues', js: true, feature: true do end context 'milestone with other filters' do - search_term = 'bug' + let(:search_term) { 'bug' } it 'filters issues by searched milestone and text' do input_filtered_search("milestone:%#{milestone.title} #{search_term}") diff --git a/spec/features/merge_requests/filter_by_labels_spec.rb b/spec/features/merge_requests/filter_by_labels_spec.rb index 5ba9743e926..55f3c1863ff 100644 --- a/spec/features/merge_requests/filter_by_labels_spec.rb +++ b/spec/features/merge_requests/filter_by_labels_spec.rb @@ -70,7 +70,7 @@ feature 'Issue filtering by Labels', feature: true, js: true do context 'filter by label enhancement and bug in issues list' do before do - input_filtered_search('label:~bug label:~enhancement ') + input_filtered_search('label:~bug label:~enhancement') end it 'applies the filters' do |