Sha256: 0edcb8566bde833164356c86471cefbded3aecdaa3a2fa5ffee78a16cdfdc978
Contents?: true
Size: 647 Bytes
Versions: 7
Compression:
Stored size: 647 Bytes
Contents
module Spec #:nodoc: module Runner #:nodoc: class Configuration # Enables blueprints in rspec. Is automatically added if <tt>Spec</tt> is defined at loading time or <tt>script/spec</tt> # is used. You might need to require it manually in certain case (eg. running specs from metrics). # Accepts options hash. For supported options please check Blueprints.load. def enable_blueprints(options = {}) Blueprints.load(options) include(Blueprints::Helper) before do Blueprints.setup(self) end after do Blueprints.teardown end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems