Audofix Rubocop Style/WordArray (#23739)
This commit is contained in:
parent
4552685f6b
commit
bf785df9fe
17 changed files with 27 additions and 50 deletions
|
@ -29,7 +29,7 @@ RSpec.describe ActivityPub::FetchFeaturedTagsCollectionService, type: :service d
|
|||
end
|
||||
|
||||
it 'sets expected tags as pinned tags' do
|
||||
expect(actor.featured_tags.map(&:display_name)).to match_array ['Foo', 'bar', 'baZ']
|
||||
expect(actor.featured_tags.map(&:display_name)).to match_array %w(Foo bar baZ)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ RSpec.describe ActivityPub::ProcessAccountService, type: :service do
|
|||
attachment: [
|
||||
{ type: 'PropertyValue', name: 'Pronouns', value: 'They/them' },
|
||||
{ type: 'PropertyValue', name: 'Occupation', value: 'Unit test' },
|
||||
{ type: 'PropertyValue', name: 'non-string', value: ['foo', 'bar'] },
|
||||
{ type: 'PropertyValue', name: 'non-string', value: %w(foo bar) },
|
||||
],
|
||||
}.with_indifferent_access
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue