Sha256: 17a43319f24c0bb265b98c8e2d291facda5191dbab9bb4b301e07b7d4abc81a7
Contents?: true
Size: 405 Bytes
Versions: 5
Compression:
Stored size: 405 Bytes
Contents
module Approvals module RSpec module DSL def executable(command, &block) Approvals::Executable.new(command, &block) end def verify(options = {}, &block) group = eval "self", block.binding namer = ::RSpec.configuration.approvals_namer_class.new(group.example) Approvals.verify(block.call, options.merge(:namer => namer)) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems