mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
13 lines
327 B
Ruby
13 lines
327 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "spec_helper"
|
|
|
|
RSpec.describe VerticalEllipsisMenu::Component, 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
|