Class: Mutiny::Integration::RSpec::Test
- Inherits:
-
Tests::Test
- Object
- Tests::Test
- Mutiny::Integration::RSpec::Test
- Defined in:
- lib/mutiny/integration/rspec/test.rb
Instance Attribute Summary collapse
-
#example ⇒ Object
readonly
Returns the value of attribute example.
-
#rest ⇒ Object
readonly
Returns the value of attribute rest.
Attributes inherited from Tests::Test
Instance Method Summary collapse
-
#generalise ⇒ Object
Converts to a Mutiny::Tests::Test, which is independent of any specific testing framework.
-
#initialize(example:, **rest) ⇒ Test
constructor
A new instance of Test.
Constructor Details
#initialize(example:, **rest) ⇒ Test
Returns a new instance of Test.
9 10 11 12 13 |
# File 'lib/mutiny/integration/rspec/test.rb', line 9 def initialize(example:, **rest) super(rest) @example = example @rest = rest end |
Instance Attribute Details
#example ⇒ Object (readonly)
Returns the value of attribute example.
7 8 9 |
# File 'lib/mutiny/integration/rspec/test.rb', line 7 def example @example end |
#rest ⇒ Object (readonly)
Returns the value of attribute rest.
7 8 9 |
# File 'lib/mutiny/integration/rspec/test.rb', line 7 def rest @rest end |