Enable the Layout/SpaceInsideBlockBraces cop
This commit is contained in:
parent
ff87d0e65f
commit
897a30da0c
23 changed files with 52 additions and 52 deletions
|
@ -7,7 +7,7 @@ describe NewUser::DossiersController, type: :controller do
|
|||
it 'is present' do
|
||||
before_actions = NewUser::DossiersController
|
||||
._process_action_callbacks
|
||||
.find_all{|process_action_callbacks| process_action_callbacks.kind == :before}
|
||||
.find_all{ |process_action_callbacks| process_action_callbacks.kind == :before }
|
||||
.map(&:filter)
|
||||
|
||||
expect(before_actions).to include(:ensure_ownership!)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue