Sha256: 786648c673528bf7e0505cca3475732f59234659c8f89c9dde3118c63e8921d3
Contents?: true
Size: 408 Bytes
Versions: 1
Compression:
Stored size: 408 Bytes
Contents
module BlueprintsBoy::RSpecHelper def build(*args) before do build(*args) end end end RSpec.configure do |config| config.include BlueprintsBoy::Helper config.extend BlueprintsBoy::RSpecHelper config.before do BlueprintsBoy.manager.setup(self) end config.after do BlueprintsBoy.manager.teardown end end if RSpec.respond_to?(:configure) # Otherwise db:seed might crash
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blueprints_boy-1.0.0 | lib/blueprints_boy/integration/rspec.rb |