diff --git a/spec/helpers/application_helper/graph_methods_spec.rb b/spec/helpers/application_helper/graph_methods_spec.rb
index e5f0da52..5a904e4a 100644
--- a/spec/helpers/application_helper/graph_methods_spec.rb
+++ b/spec/helpers/application_helper/graph_methods_spec.rb
@@ -14,15 +14,15 @@ describe ApplicationHelper::GraphMethods, :type => :helper do
it 'should generate a matching OpenGraph structure for a user' do
allow(APP_CONFIG).to receive(:[]).with('site_name').and_return('pineapplespring')
- expect(subject).to eq(<<-EOS.chomp)
-
-
-
-
-
-
-
-EOS
+ expect(subject).to eq(<<~EOS.chomp)
+
+
+
+
+
+
+
+ EOS
end
end
end
@@ -37,13 +37,13 @@ EOS
subject { user_twitter_card(user) }
it 'should generate a matching OpenGraph structure for a user' do
- expect(subject).to eq(<<-EOS.chomp)
-
-
-
-
-
-EOS
+ expect(subject).to eq(<<~EOS.chomp)
+
+
+
+
+
+ EOS
end
end
end
@@ -62,14 +62,14 @@ EOS
it 'should generate a matching OpenGraph structure for a user' do
allow(APP_CONFIG).to receive(:[]).with('site_name').and_return('pineapplespring')
- expect(subject).to eq(<<-EOS.chomp)
-
-
-
-
-
-
-EOS
+ expect(subject).to eq(<<~EOS.chomp)
+
+
+
+
+
+
+ EOS
end
end
end