mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-25 15:09:29 +00:00
Simplify model validation specs for Mention
This commit is contained in:
parent
a1ac2a73ff
commit
18deb11585
|
@ -3,7 +3,7 @@
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
|
|
||||||
RSpec.describe Mention do
|
RSpec.describe Mention do
|
||||||
describe 'validations' do
|
describe 'Associations' do
|
||||||
it { is_expected.to belong_to(:account).required }
|
it { is_expected.to belong_to(:account).required }
|
||||||
it { is_expected.to belong_to(:status).required }
|
it { is_expected.to belong_to(:status).required }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue