mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 10:19:52 +01:00
Adjust inbox entry view spec
This commit is contained in:
parent
ed500da939
commit
11535a17a3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue