Class: Museo::Snapshot::Minitest

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

Instance Method Summary collapse

Methods inherited from Museo::Snapshot

#body, sanitize_response

Constructor Details

#initialize(test_case) ⇒ Minitest

Returns a new instance of Minitest.



4
5
6
7
8
9
10
# File 'lib/museo/snapshot/minitest.rb', line 4

def initialize(test_case)
  super(
    klass: test_case.class,
    test_name: test_case.name,
    response: test_case.response,
  )
end