chore: Update dependencies to the latest versions (#5033)
This commit is contained in:
@@ -6,7 +6,7 @@ RSpec.describe Attachment, type: :model do
|
||||
message = create(:message)
|
||||
attachment = message.attachments.new(account_id: message.account_id, file_type: :image)
|
||||
attachment.file.attach(io: File.open(Rails.root.join('spec/assets/avatar.png')), filename: 'avatar.png', content_type: 'image/png')
|
||||
expect(attachment.download_url).not_to eq nil
|
||||
expect(attachment.download_url).not_to be_nil
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user