From 7ef521ad1fd40ade5517d41a18f0ad27d2f754a9 Mon Sep 17 00:00:00 2001 From: Ahmed Ejaz Date: Sun, 12 Nov 2023 16:06:59 +0500 Subject: [PATCH] 1448, update specs --- 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 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