0
0
Fork 0

Fix awkwardly-worded nature of scheduled too soon error (#33156)

This commit is contained in:
Matt Jankowski 2024-12-04 02:43:29 -05:00 committed by GitHub
parent 7420f59f76
commit 6fddf1610c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ RSpec.describe PostStatusService do
subject.call(account, text: 'Hi future!', scheduled_at: invalid_scheduled_time)
end.to raise_error(
ActiveRecord::RecordInvalid,
'Validation failed: Scheduled at The scheduled date must be in the future'
'Validation failed: Scheduled at date must be in the future'
)
end
end