diff --git a/spec/system/comments_spec.rb b/spec/system/comments_spec.rb index a5676fd3c..a20ce20a3 100644 --- a/spec/system/comments_spec.rb +++ b/spec/system/comments_spec.rb @@ -267,7 +267,7 @@ describe "Comments" do scenario "Sanitizes comment body for security" do create(:comment, commentable: resource, body: " " \ - "click me " \ + "click me " \ "http://www.url.com") visit polymorphic_path(resource) diff --git a/spec/system/debates_spec.rb b/spec/system/debates_spec.rb index 2e4d49bb7..9604e4e59 100644 --- a/spec/system/debates_spec.rb +++ b/spec/system/debates_spec.rb @@ -296,7 +296,7 @@ describe "Debates" do scenario "JS injection is prevented but autolinking is respected", :no_js do author = create(:user) js_injection_string = " " \ - "click me " \ + "click me " \ "http://example.org" login_as(author) diff --git a/spec/system/proposals_spec.rb b/spec/system/proposals_spec.rb index dc9912e05..77f2ad1c3 100644 --- a/spec/system/proposals_spec.rb +++ b/spec/system/proposals_spec.rb @@ -514,7 +514,7 @@ describe "Proposals" do scenario "JS injection is prevented but autolinking is respected", :no_js do author = create(:user) js_injection_string = " " \ - "click me " \ + "click me " \ "http://example.org" login_as(author)