We were accidentally filtering this attribute when sanitizing the text
since commit 928312e21.
15 lines
370 B
Ruby
15 lines
370 B
Ruby
require "rails_helper"
|
|
|
|
describe Layout::FooterComponent do
|
|
describe "description links" do
|
|
it "generates links that open in the same tab" do
|
|
render_inline Layout::FooterComponent.new
|
|
|
|
page.find(".info") do |info|
|
|
expect(info).to have_css "a[rel=nofollow]", count: 2
|
|
expect(info).not_to have_css "a[target]"
|
|
end
|
|
end
|
|
end
|
|
end
|