Using double splat operator (#5859)

This commit is contained in:
Yamagishi Kazutoshi authored and Eugen Rochko committed 2017-12-06 11:41:57 +01:00
1 parent 42bcbd36b7
commit b21db9bbde
25 files changed
+32 -32

No files matched your search

+1 -1
View File
@@ -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