Autofix Rubocop RSpec/EmptyLineAfterSubject (#23719)
This commit is contained in:
parent
dbc6d7b276
commit
bd1d57c230
17 changed files with 19 additions and 21 deletions
|
@ -409,6 +409,7 @@ RSpec.describe User, type: :model do
|
|||
|
||||
describe '#disable!' do
|
||||
subject(:user) { Fabricate(:user, disabled: false, current_sign_in_at: current_sign_in_at, last_sign_in_at: nil) }
|
||||
|
||||
let(:current_sign_in_at) { Time.zone.now }
|
||||
|
||||
before do
|
||||
|
@ -497,6 +498,7 @@ RSpec.describe User, type: :model do
|
|||
|
||||
describe '#active_for_authentication?' do
|
||||
subject { user.active_for_authentication? }
|
||||
|
||||
let(:user) { Fabricate(:user, disabled: disabled, confirmed_at: confirmed_at) }
|
||||
|
||||
context 'when user is disabled' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue