Adjust inbox entry view spec

This commit is contained in:
Andreas Nedbal 2023-12-09 18:53:52 +01:00 committed by Andreas Nedbal
parent ed500da939
commit 11535a17a3
1 changed files with 1 additions and 1 deletions

View File

@ -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