mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
13 lines
325 B
Ruby
13 lines
325 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "spec_helper"
|
|
|
|
RSpec.describe VerticalEllipsisMenuComponent, type: :component do
|
|
it "displays the included links" do
|
|
content = "<a href>Edit</a>"
|
|
render_inline(described_class.new.with_content(content.html_safe))
|
|
|
|
expect(page).to have_selector "a", text: "Edit"
|
|
end
|
|
end
|