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