Fix sharing view spec test case

This commit is contained in:
Andreas Nedbal 2023-10-16 15:33:02 +02:00 committed by Andreas Nedbal
parent 5f0fed8c94
commit 0f0f3ae0c6
1 changed files with 1 additions and 1 deletions

View File

@ -24,6 +24,6 @@ describe "actions/_share.html.haml", type: :view do
end
it "has a dropdown item to share to anywhere else" do
expect(rendered).to have_css(%(a.dropdown-item[name="ab-share"]))
expect(rendered).to have_css(%(a.dropdown-item[data-controller="share"]))
end
end