From 0f0f3ae0c64bd193f8fe7790bbb3b68df227fa32 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Mon, 16 Oct 2023 15:33:02 +0200 Subject: [PATCH] Fix sharing view spec test case --- spec/views/actions/_share.html.haml_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/views/actions/_share.html.haml_spec.rb b/spec/views/actions/_share.html.haml_spec.rb index 16153d1c..f3dfc49f 100644 --- a/spec/views/actions/_share.html.haml_spec.rb +++ b/spec/views/actions/_share.html.haml_spec.rb @@ -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