From 11535a17a3d6b885bd1481d0cd2f2463de16d62b Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sat, 9 Dec 2023 18:53:52 +0100 Subject: [PATCH] Adjust inbox entry view spec --- spec/views/inbox/_entry.html.haml_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/views/inbox/_entry.html.haml_spec.rb b/spec/views/inbox/_entry.html.haml_spec.rb index 02dd3559..c525284f 100644 --- a/spec/views/inbox/_entry.html.haml_spec.rb +++ b/spec/views/inbox/_entry.html.haml_spec.rb @@ -96,7 +96,7 @@ describe "inbox/_entry.html.haml", type: :view do it "has a link-button to copy to clipboard" do expected_attribute_selectors = %([data-controller="clipboard"][data-action="clipboard#copy"][data-inbox-sharing-target="clipboard"]) - expect(rendered).to have_css(%(.inbox-entry__sharing a.btn#{expected_attribute_selectors})) + expect(rendered).to have_css(%(.inbox-entry__sharing button.btn#{expected_attribute_selectors})) end it "does not have a link-button to share to a custom site" do