Apply automatic rubocop fixes
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'rails_helper'
|
||||
|
||||
describe RequestForCommentsController do
|
||||
@ -24,7 +26,7 @@ describe RequestForCommentsController do
|
||||
rfc_other_study_group.user.update(study_groups: [another_study_group])
|
||||
rfc_other_study_group.submission.update(study_group: another_study_group)
|
||||
|
||||
get :index, params: { "q[submission_study_group_id_in][]": my_study_group.id }
|
||||
get :index, params: {"q[submission_study_group_id_in][]": my_study_group.id}
|
||||
|
||||
expect(assigns(:request_for_comments)).to eq([rfc_within_my_study_group])
|
||||
end
|
||||
@ -47,7 +49,7 @@ describe RequestForCommentsController do
|
||||
describe 'GET #get_rfcs_for_exercise' do
|
||||
before do
|
||||
exercise = FactoryBot.create(:even_odd)
|
||||
get :get_rfcs_for_exercise, params: { exercise_id: exercise.id }
|
||||
get :get_rfcs_for_exercise, params: {exercise_id: exercise.id}
|
||||
end
|
||||
|
||||
expect_status(200)
|
||||
|
Reference in New Issue
Block a user