diff --git a/spec/controllers/moderation/questions_controller_spec.rb b/spec/controllers/moderation/questions_controller_spec.rb index 4ff7fe0a..07c81676 100644 --- a/spec/controllers/moderation/questions_controller_spec.rb +++ b/spec/controllers/moderation/questions_controller_spec.rb @@ -6,7 +6,7 @@ describe Moderation::QuestionsController, type: :controller do let(:user) { FactoryBot.create :user, roles: ["moderator"] } describe "#index" do - subject { get :index, params: params } + subject { get :index, params: } let(:params) { { author_identifier: "test" } }