Sha256: bfb14b76da4fa83a68b643d4e440eefc677505010185425092cfcc333cb7d16a
Contents?: true
Size: 486 Bytes
Versions: 15
Compression:
Stored size: 486 Bytes
Contents
require_relative "records_demonstration" module Mocktail class RegistersStubbing def initialize @records_demonstration = RecordsDemonstration.new end def register(demonstration, demo_config) Stubbing.new( demonstration: demonstration, demo_config: demo_config, recording: @records_demonstration.record(demonstration, demo_config) ).tap do |stubbing| Mocktail.cabinet.store_stubbing(stubbing) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems