diff options
author | Phil Hughes <me@iamphill.com> | 2017-10-06 14:42:01 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-10-06 16:07:09 +0100 |
commit | 0f366c74131339cb45c8943437fe5b3e68721c75 (patch) | |
tree | 247be2df30143c3ba2a3beb11bf7c6aedc7c4142 /spec | |
parent | 050548032475458a70005ed3f7ff74211084a423 (diff) | |
download | gitlab-ce-0f366c74131339cb45c8943437fe5b3e68721c75.tar.gz |
Fixed default group sort optiongroup-sort-dropdown-blank
Closes #38808
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/dashboard/group_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/features/dashboard/group_spec.rb b/spec/features/dashboard/group_spec.rb index 60a16830cdc..3e61fafff69 100644 --- a/spec/features/dashboard/group_spec.rb +++ b/spec/features/dashboard/group_spec.rb @@ -5,6 +5,12 @@ RSpec.describe 'Dashboard Group' do sign_in(create(:user)) end + it 'defaults sort dropdown to last created' do + visit dashboard_groups_path + + expect(page).to have_button('Last created') + end + it 'creates new group', js: true do visit dashboard_groups_path find('.btn-new').trigger('click') |