about summary refs log tree commit diff
path: root/spec/services/favourite_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/favourite_service_spec.rb')
-rw-r--r--spec/services/favourite_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/favourite_service_spec.rb b/spec/services/favourite_service_spec.rb
index 94a8111dd..9781f0d78 100644
--- a/spec/services/favourite_service_spec.rb
+++ b/spec/services/favourite_service_spec.rb
@@ -23,7 +23,7 @@ RSpec.describe FavouriteService, type: :service do
     let(:status) { Fabricate(:status, account: bob) }
 
     before do
-      stub_request(:post, "http://example.com/inbox").to_return(:status => 200, :body => "", :headers => {})
+      stub_request(:post, "http://example.com/inbox").to_return(status: 200, body: "", headers: {})
       subject.call(sender, status)
     end