mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-27 21:06:49 +00:00
- Style/ClassAndModuleChildren: Use nested module/class definitions instead of compact style. - fix spec
13 lines
321 B
Ruby
13 lines
321 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "spec_helper"
|
|
|
|
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
|