Fix sharing view spec test case
This commit is contained in:
parent
5f0fed8c94
commit
0f0f3ae0c6
|
@ -24,6 +24,6 @@ describe "actions/_share.html.haml", type: :view do
|
|||
end
|
||||
|
||||
it "has a dropdown item to share to anywhere else" do
|
||||
expect(rendered).to have_css(%(a.dropdown-item[name="ab-share"]))
|
||||
expect(rendered).to have_css(%(a.dropdown-item[data-controller="share"]))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue