diff --git a/spec/views/actions/_share.html.haml_spec.rb b/spec/views/actions/_share.html.haml_spec.rb index cdef7387..a66ffde4 100644 --- a/spec/views/actions/_share.html.haml_spec.rb +++ b/spec/views/actions/_share.html.haml_spec.rb @@ -28,6 +28,6 @@ describe "actions/_share.html.haml", type: :view do end it "has a dropdown item to copy to clipboard" do - expect(rendered).to have_css(%(a.dropdown-item[data-action="share#copyToClipboard"])) + expect(rendered).to have_css(%(a.dropdown-item[data-action="clipboard#copy"])) end end