Fix RSpec/HookArgument
cop (#27747)
This commit is contained in:
parent
1b28ab7263
commit
b06284c572
9 changed files with 16 additions and 30 deletions
|
@ -9,7 +9,7 @@ describe ActivityPub::UpdatePollSerializer do
|
|||
let(:poll) { Fabricate(:poll, account: account) }
|
||||
let!(:status) { Fabricate(:status, account: account, poll: poll) }
|
||||
|
||||
before(:each) do
|
||||
before do
|
||||
@serialization = ActiveModelSerializers::SerializableResource.new(status, serializer: described_class, adapter: ActivityPub::Adapter)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue