Adjust inbox entry view spec
This commit is contained in:
parent
ed500da939
commit
11535a17a3
|
@ -96,7 +96,7 @@ describe "inbox/_entry.html.haml", type: :view do
|
||||||
|
|
||||||
it "has a link-button to copy to clipboard" 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"])
|
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
|
end
|
||||||
|
|
||||||
it "does not have a link-button to share to a custom site" do
|
it "does not have a link-button to share to a custom site" do
|
||||||
|
|
Loading…
Reference in New Issue