Files
openfoodnetwork/spec/components/vertical_ellipsis_menu_component_spec.rb
Maikel Linke dcb6f4676d Remove all unnecessary spec_helper require statements
The `.rspec` file is doing this for us.
2026-01-21 12:35:34 +11:00

11 lines
302 B
Ruby

# frozen_string_literal: true
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