Sha256: 5d46d4da7259018f5570f0cd7be4d4b5133c7ff8f08774e5505f16f77988fc7c

Contents?: true

Size: 278 Bytes

Versions: 3

Compression:

Stored size: 278 Bytes

Contents

module Museo
  class Snapshot
    class Rspec < Snapshot
      def initialize(example, metadata)
        super(
          klass: metadata[:described_class],
          test_name: metadata[:description],
          response: example.response,
        )
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
museo-0.3.0 lib/museo/snapshot/rspec.rb
museo-0.2.0 lib/museo/snapshot/rspec.rb
museo-0.1.0 lib/museo/snapshot/rspec.rb