diff --git a/.rubocop.yml b/.rubocop.yml index 04e7d11b..0e714b5f 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -10,3 +10,6 @@ require: Style/IfUnlessModifier: Enabled: false + +RSpec/Rails/InferredSpecType: + Enabled: false diff --git a/spec/controllers/emails_controller_spec.rb b/spec/controllers/emails_controller_spec.rb index 656efc06..281a4534 100644 --- a/spec/controllers/emails_controller_spec.rb +++ b/spec/controllers/emails_controller_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -describe EmailsController do +describe EmailsController, type: :controller do describe 'GET #index' do let(:email) { nil } diff --git a/spec/controllers/events_controller_spec.rb b/spec/controllers/events_controller_spec.rb index cab5cbff..ad830377 100644 --- a/spec/controllers/events_controller_spec.rb +++ b/spec/controllers/events_controller_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -describe EventsController do +describe EventsController, type: :controller do let(:event) { Event.make! } let(:viewer) { nil } diff --git a/spec/controllers/ticket_requests_controller_spec.rb b/spec/controllers/ticket_requests_controller_spec.rb index 969faa59..894c9229 100644 --- a/spec/controllers/ticket_requests_controller_spec.rb +++ b/spec/controllers/ticket_requests_controller_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -describe TicketRequestsController do +describe TicketRequestsController, type: :controller do let(:viewer) { nil } before { sign_in viewer if viewer }