diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2017-03-02 14:10:37 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2017-03-02 14:10:37 +0200 |
commit | f440bfd247fe6e69bc913ec60e3535fda4797031 (patch) | |
tree | a479db65c1822448e5042b2bd4b4a5ffcff27271 /spec/features/dashboard/groups_list_spec.rb | |
parent | 0a10d85927a62bfbe953656d55d50b3a3e7ffa01 (diff) | |
download | gitlab-ce-f440bfd247fe6e69bc913ec60e3535fda4797031.tar.gz |
Improve groups list specsdz-dashboard-groups-search
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/features/dashboard/groups_list_spec.rb')
-rw-r--r-- | spec/features/dashboard/groups_list_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/dashboard/groups_list_spec.rb b/spec/features/dashboard/groups_list_spec.rb index c1d5e4069c2..ca04107d33a 100644 --- a/spec/features/dashboard/groups_list_spec.rb +++ b/spec/features/dashboard/groups_list_spec.rb @@ -1,6 +1,6 @@ require 'spec_helper' -RSpec.describe 'Dashboard Groups page', js: true, feature: true do +describe 'Dashboard Groups page', js: true, feature: true do include WaitForAjax let!(:user) { create :user } @@ -40,8 +40,8 @@ RSpec.describe 'Dashboard Groups page', js: true, feature: true do wait_for_ajax expect(page).to have_content(group.full_name) - expect(page).to have_content(public_group.full_name) - expect(page).not_to have_content(private_group.full_name) + expect(page).to have_content(nested_group.full_name) + expect(page).not_to have_content(another_group.full_name) expect(page.all('.js-groups-list-holder .content-list li').length).to eq 2 end end |