diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2017-12-06 19:41:57 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-12-06 11:41:57 +0100 |
commit | b21db9bbde3784556a5861e2cdec0c8c2184c72e (patch) | |
tree | 5702878677aa85352185fd22e69fb10cd142d9ee /spec/services | |
parent | 42bcbd36b72c7ddc5ae1ecced09614863ca382bd (diff) |
Using double splat operator (#5859)
Diffstat (limited to 'spec/services')
-rw-r--r-- | spec/services/post_status_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/post_status_service_spec.rb b/spec/services/post_status_service_spec.rb index 91902ff69..92fbc73cd 100644 --- a/spec/services/post_status_service_spec.rb +++ b/spec/services/post_status_service_spec.rb @@ -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 |