Class: Museo::Snapshot::Rspec

Inherits:
Museo::Snapshot show all
Defined in:
lib/museo/snapshot/rspec.rb

Instance Method Summary collapse

Methods inherited from Museo::Snapshot

#body, sanitize_response

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