From 3e0d54f5f8de8eed8064b7286fa6ceafd2f56420 Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 4 Mar 2024 12:54:23 +1100 Subject: [PATCH] Fix Layout/LineLength Ha, `not_to have` is one character longer.. --- spec/system/consumer/cookies_spec.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/spec/system/consumer/cookies_spec.rb b/spec/system/consumer/cookies_spec.rb index 405043739e..7685ab1cfa 100644 --- a/spec/system/consumer/cookies_spec.rb +++ b/spec/system/consumer/cookies_spec.rb @@ -64,9 +64,11 @@ describe "Cookies", caching: true do scenario "it is not showing" do Spree::Config[:cookies_consent_banner_toggle] = false visit root_path - expect(page).not_to have_content 'This site uses cookies in order to make your navigation ' \ - 'frictionless and secure, and to help us understand how ' \ - 'you use it in order to improve the features we offer.' + expect(page).not_to have_content( + 'This site uses cookies in order to make your navigation ' \ + 'frictionless and secure, and to help us understand how ' \ + 'you use it in order to improve the features we offer.' + ) end end end