mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-25 11:42:43 +00:00
Using double splat operator (#5859)
This commit is contained in:
parent
42bcbd36b7
commit
b21db9bbde
25 changed files with 32 additions and 32 deletions
|
|
@ -182,7 +182,7 @@ RSpec.describe PostStatusService do
|
|||
expect(status2.id).to eq status1.id
|
||||
end
|
||||
|
||||
def create_status_with_options(options = {})
|
||||
def create_status_with_options(**options)
|
||||
subject.call(Fabricate(:account), 'test', nil, options)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue