mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 23:20:44 +01:00
Use nil
instead of false
for datetime value in spec (#32926)
This commit is contained in:
parent
d8e907fae3
commit
03ee08c2da
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ RSpec.describe Account::Sensitizes do
|
||||||
describe '.sensitized' do
|
describe '.sensitized' do
|
||||||
let(:sensitized_account) { Fabricate :account, sensitized_at: 2.days.ago }
|
let(:sensitized_account) { Fabricate :account, sensitized_at: 2.days.ago }
|
||||||
|
|
||||||
before { Fabricate :account, sensitized_at: false }
|
before { Fabricate :account, sensitized_at: nil }
|
||||||
|
|
||||||
it 'returns an array of accounts who are sensitized' do
|
it 'returns an array of accounts who are sensitized' do
|
||||||
expect(Account.sensitized)
|
expect(Account.sensitized)
|
||||||
|
|
Loading…
Reference in a new issue