Sha256: 7e2dd2ed63ffe4a255e5a9d4b9367d290a98512bdb183581409212eeff2c1243
Contents?: true
Size: 413 Bytes
Versions: 4
Compression:
Stored size: 413 Bytes
Contents
require_relative 'syntax' module Bogus module RSpecExtensions def fake(name, opts = {}, &block) let(name) { fake(name, opts, &block) } end def fake_class(name, opts = {}) before do fake_class(name, opts) end end def verify_contract(name, &block) syntax = RSpecSyntax.new(self) Bogus.add_contract_verification(syntax, name, &block) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
bogus-0.1.7 | lib/bogus/rspec/extensions.rb |
bogus-0.1.6 | lib/bogus/rspec/extensions.rb |
bogus-0.1.5 | lib/bogus/rspec/extensions.rb |
bogus-0.1.4 | lib/bogus/rspec/extensions.rb |