Skip to content

Commit

Permalink
Switch to type: :controller, 6/174 specs remaining
Browse files Browse the repository at this point in the history
  • Loading branch information
kigster committed Mar 26, 2024
1 parent 90212a2 commit 5aa46c4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ require:

Style/IfUnlessModifier:
Enabled: false

RSpec/Rails/InferredSpecType:
Enabled: false
2 changes: 1 addition & 1 deletion spec/controllers/emails_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require 'rails_helper'

describe EmailsController do
describe EmailsController, type: :controller do
describe 'GET #index' do
let(:email) { nil }

Expand Down
2 changes: 1 addition & 1 deletion spec/controllers/events_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require 'rails_helper'

describe EventsController do
describe EventsController, type: :controller do
let(:event) { Event.make! }
let(:viewer) { nil }

Expand Down
2 changes: 1 addition & 1 deletion spec/controllers/ticket_requests_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require 'rails_helper'

describe TicketRequestsController do
describe TicketRequestsController, type: :controller do
let(:viewer) { nil }

before { sign_in viewer if viewer }
Expand Down

0 comments on commit 5aa46c4

Please sign in to comment.