diff options
Diffstat (limited to 'spec/controllers/groups_controller_spec.rb')
-rw-r--r-- | spec/controllers/groups_controller_spec.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/controllers/groups_controller_spec.rb b/spec/controllers/groups_controller_spec.rb index 55833ee3aad..90b38799629 100644 --- a/spec/controllers/groups_controller_spec.rb +++ b/spec/controllers/groups_controller_spec.rb @@ -400,15 +400,6 @@ RSpec.describe GroupsController, factory_default: :keep do sign_in(user) end - it 'lists only incidents and issues' do - incident = create(:incident, project: project) - create(:quality_test_case, project: project) - - get :issues, params: { id: group.to_param } - - expect(assigns(:issues)).to match_array([issue_1, issue_2, incident]) - end - context 'sorting by votes' do it 'sorts most popular issues' do get :issues, params: { id: group.to_param, sort: 'upvotes_desc' } |