diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-07-31 13:07:44 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-07-31 13:07:56 +0300 |
commit | d860cf0f27c63ea2c05701aac14a628eef2eae39 (patch) | |
tree | 4e94d095717006720bf0268f4e7bbc62fdbd2e4f /spec/features/projects | |
parent | 5137df53450f26046da7bf73fee0e8bfbc8dff9f (diff) |
Show different not fount message for project labels search
Depends on if prioritised or other labels are found or no labels at all
are found, we show a corresponding message now
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/features/projects')
-rw-r--r-- | spec/features/projects/labels/search_labels_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/labels/search_labels_spec.rb b/spec/features/projects/labels/search_labels_spec.rb index affd4cb9469..fef6c2cdee8 100644 --- a/spec/features/projects/labels/search_labels_spec.rb +++ b/spec/features/projects/labels/search_labels_spec.rb @@ -57,7 +57,7 @@ describe 'Search for labels', :js do end page.within('.other-labels') do - expect(page).to have_content('No labels with such name or description') + expect(page).to have_content('No other labels with such name or description') end end @@ -66,7 +66,7 @@ describe 'Search for labels', :js do find('#label-search').native.send_keys(:enter) page.within('.prioritized-labels') do - expect(page).to have_content('No labels with such name or description') + expect(page).to have_content('No prioritised labels with such name or description') end page.within('.other-labels') do |