Sha256: ceb9509dd8ba45a8edd5ed63995eef8e620d8e28209a303c69c9be1fa66d8551
Contents?: true
Size: 420 Bytes
Versions: 2
Compression:
Stored size: 420 Bytes
Contents
require 'forwardable' module Bogus class RSpecSyntax extend Takes extend Forwardable takes :context def_delegators :context, :before, :after, :described_class def described_class=(value) context.example.metadata[:example_group][:described_class] = value end def after_suite(&block) RSpec.configure do |config| config.after(:suite, &block) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bogus-0.1.5 | lib/bogus/rspec/syntax.rb |
bogus-0.1.4 | lib/bogus/rspec/syntax.rb |