about summary refs log tree commit diff
path: root/spec/views
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/views
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/views')
-rw-r--r--spec/views/statuses/show.html.haml_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/statuses/show.html.haml_spec.rb b/spec/views/statuses/show.html.haml_spec.rb
index eeea2f698..ca5bb2ae8 100644
--- a/spec/views/statuses/show.html.haml_spec.rb
+++ b/spec/views/statuses/show.html.haml_spec.rb
@@ -4,7 +4,7 @@ require 'rails_helper'
 
 describe 'statuses/show.html.haml', without_verify_partial_doubles: true do
   before do
-    double(:api_oembed_url => '')
+    double(api_oembed_url: '')
     allow(view).to receive(:show_landing_strip?).and_return(true)
     allow(view).to receive(:site_title).and_return('example site')
     allow(view).to receive(:site_hostname).and_return('example.com')