зеркало из
https://github.com/rs-pro/activeadmin-quill_editor.git
synced 2026-08-28 15:36:17 +03:00
20 строки
279 B
Ruby
20 строки
279 B
Ruby
# frozen_string_literal: true
|
|
|
|
class BasePage
|
|
include Capybara::DSL
|
|
|
|
attr_reader :path
|
|
|
|
def initialize(path:)
|
|
@path = path
|
|
end
|
|
|
|
def load
|
|
visit(path)
|
|
end
|
|
|
|
def lookup_editor(editor_container:)
|
|
@editor = Shared::QuillEditor.new(editor_container)
|
|
end
|
|
end
|