Sha256: 9bcba175888485c6265c8cda527d3b141750aa69cff1afdb812fbcec9106e501

Contents?: true

Size: 501 Bytes

Versions: 2

Compression:

Stored size: 501 Bytes

Contents

Root = Pathname.new(__FILE__).dirname.join('..', '..')
$: << Root.join('lib').to_s

require 'rspec'
require 'active_record'
require File.dirname(__FILE__) + '/../support/active_record/initializer'
require 'blueprints'
require File.dirname(__FILE__) + '/fixtures'

RSpec.configure do |config|
  config.mock_with :mocha
  config.include Fixtures

  config.after do
    Blueprints::Namespace.root.instance_variable_get(:@children).clear
    Blueprints::Namespace.root.executed_blueprints.clear
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blueprints-1.0.1 spec/unit/spec_helper.rb
blueprints-1.0.0 spec/unit/spec_helper.rb