diff --git a/spec/lib/activitypub/activity/create_spec.rb b/spec/lib/activitypub/activity/create_spec.rb index 342da29028..8be6766dad 100644 --- a/spec/lib/activitypub/activity/create_spec.rb +++ b/spec/lib/activitypub/activity/create_spec.rb @@ -768,7 +768,7 @@ RSpec.describe ActivityPub::Activity::Create do expect { subject.perform } .to change(sender.statuses, :count).by(1) .and change { sender.featured_tags.first.reload.statuses_count }.by(1) - .and change { sender.featured_tags.first.reload.last_status_at }.from(nil).to(be_within(0.1).of(Time.now.utc)) + .and change { sender.featured_tags.first.reload.last_status_at }.from(nil).to(be_present) status = sender.statuses.first