about summary refs log tree commit diff
path: root/spec/services/follow_service_spec.rb
diff options
context:
space:
mode:
authorRose <83477269+AtariDreams@users.noreply.github.com>2022-11-17 05:05:39 -0500
committerGitHub <noreply@github.com>2022-11-17 11:05:39 +0100
commit4f15fd0ba1e992aa6cbe95573372c625a2f4cf71 (patch)
tree551e8a90cd97fc4ba62ab25fa9f676df57efba06 /spec/services/follow_service_spec.rb
parentc373148b3d43056c242fbb891510f1f841ca2f45 (diff)
Fix style for hashes (#20518)
* Fix style for hashes

Make the style for hashes consistent.

* New style

More consistency
Diffstat (limited to 'spec/services/follow_service_spec.rb')
-rw-r--r--spec/services/follow_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/follow_service_spec.rb b/spec/services/follow_service_spec.rb
index 88346ec54..412c04d76 100644
--- a/spec/services/follow_service_spec.rb
+++ b/spec/services/follow_service_spec.rb
@@ -140,7 +140,7 @@ RSpec.describe FollowService, type: :service do
     let(:bob) { Fabricate(:account, username: 'bob', domain: 'example.com', protocol: :activitypub, inbox_url: 'http://example.com/inbox') }
 
     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, bob)
     end