Module: ROM::Lint::TestEnumerableDataset
- Extended by:
- Test
- Defined in:
- core/lib/rom/lint/test.rb
Overview
This is a simple lint-test for a gateway dataset class to ensure the basic behavior is correct
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the expected data.
-
#dataset ⇒ Object
readonly
Returns the dataset instance.
Class Method Summary collapse
-
.define_test_method(name, &block) ⇒ Object
extended
from Test
private
Defines a test method converting lint failures to assertions.
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the expected data
91 92 93 |
# File 'core/lib/rom/lint/test.rb', line 91 def data @data end |
#dataset ⇒ Object (readonly)
Returns the dataset instance
86 87 88 |
# File 'core/lib/rom/lint/test.rb', line 86 def dataset @dataset end |
Class Method Details
.define_test_method(name, &block) ⇒ Object Originally defined in module Test
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Defines a test method converting lint failures to assertions