Move remaining _map method specs from account to mappings spec (#35142)
This commit is contained in:
parent
36f01af6c4
commit
0d7f1584bc
2 changed files with 83 additions and 30 deletions
|
|
@ -386,36 +386,6 @@ RSpec.describe Account do
|
|||
end
|
||||
end
|
||||
|
||||
describe '.following_map' do
|
||||
it 'returns an hash' do
|
||||
expect(described_class.following_map([], 1)).to be_a Hash
|
||||
end
|
||||
end
|
||||
|
||||
describe '.followed_by_map' do
|
||||
it 'returns an hash' do
|
||||
expect(described_class.followed_by_map([], 1)).to be_a Hash
|
||||
end
|
||||
end
|
||||
|
||||
describe '.blocking_map' do
|
||||
it 'returns an hash' do
|
||||
expect(described_class.blocking_map([], 1)).to be_a Hash
|
||||
end
|
||||
end
|
||||
|
||||
describe '.requested_map' do
|
||||
it 'returns an hash' do
|
||||
expect(described_class.requested_map([], 1)).to be_a Hash
|
||||
end
|
||||
end
|
||||
|
||||
describe '.requested_by_map' do
|
||||
it 'returns an hash' do
|
||||
expect(described_class.requested_by_map([], 1)).to be_a Hash
|
||||
end
|
||||
end
|
||||
|
||||
describe 'MENTION_RE' do
|
||||
subject { described_class::MENTION_RE }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue