Module: Plutonium::Testing::DSL
- Extended by:
- ActiveSupport::Concern
- Included in:
- NestedResource, ResourceCrud, ResourceDefinition, ResourceModel, ResourcePolicy
- Defined in:
- lib/plutonium/testing/dsl.rb
Defined Under Namespace
Classes: PortalNotFound
Constant Summary collapse
- DEFAULT_ACTIONS =
%i[index show new create edit update destroy].freeze
Instance Method Summary collapse
Instance Method Details
#current_path_prefix ⇒ Object
68 69 70 |
# File 'lib/plutonium/testing/dsl.rb', line 68 def current_path_prefix self.class.resource_tests_config.fetch(:path_prefix) end |
#current_portal ⇒ Object
64 65 66 |
# File 'lib/plutonium/testing/dsl.rb', line 64 def current_portal @__portal_override || self.class.resource_tests_config.fetch(:portal) end |