1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-23 14:46:18 +09:00

Use nil instead of false for datetime value in spec (#32926)

This commit is contained in:
Matt Jankowski 2024-11-18 04:31:25 -05:00 committed by GitHub
parent d8e907fae3
commit 03ee08c2da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,7 @@ RSpec.describe Account::Sensitizes do
describe '.sensitized' do
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
expect(Account.sensitized)