Class: Museo::Snapshot::Rspec
- Inherits:
-
Museo::Snapshot
- Object
- Museo::Snapshot
- Museo::Snapshot::Rspec
- Defined in:
- lib/museo/snapshot/rspec.rb
Instance Method Summary collapse
-
#initialize(example, metadata) ⇒ Rspec
constructor
A new instance of Rspec.
Methods inherited from Museo::Snapshot
Constructor Details
#initialize(example, metadata) ⇒ Rspec
Returns a new instance of Rspec.
4 5 6 7 8 9 10 |
# File 'lib/museo/snapshot/rspec.rb', line 4 def initialize(example, ) super( klass: [:described_class], test_name: [:description], response: example.response, ) end |