parent
e4a241abef
commit
dbda87c31f
10 changed files with 31 additions and 138 deletions
|
@ -27,12 +27,4 @@ RSpec.describe FollowRequest, type: :model do
|
|||
expect(follow_request.account.muting_reblogs?(target)).to be true
|
||||
end
|
||||
end
|
||||
|
||||
describe '#object_type' do
|
||||
let(:follow_request) { Fabricate(:follow_request) }
|
||||
|
||||
it 'equals to :follow' do
|
||||
expect(follow_request.object_type).to eq :follow
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue