mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-30 17:02:12 +02:00
Move NotificationsController#index
test into their own describe
block
This commit is contained in:
parent
80d8bebe57
commit
0db44949e6
1 changed files with 31 additions and 29 deletions
|
@ -3,6 +3,7 @@
|
|||
require "rails_helper"
|
||||
|
||||
describe NotificationsController do
|
||||
describe "#index" do
|
||||
subject { get :index, params: { type: :new } }
|
||||
|
||||
let(:user) { FactoryBot.create(:user) }
|
||||
|
@ -39,3 +40,4 @@ describe NotificationsController do
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue