Sha256: 1ff653f46f191e02431d6b92cee01273beaa490b8dd87e590c9d6c188bf05665

Contents?: true

Size: 429 Bytes

Versions: 2

Compression:

Stored size: 429 Bytes

Contents

require 'sprockets'
require 'sprockets-plugin'
require 'construct'

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

RSpec.configure do |config|
  include Construct::Helpers
  
  config.before :each do
    @sandbox = create_construct
  end
  
  config.after :each do
    @sandbox.destroy!
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sprockets-plugin-0.3.0 spec/spec_helper.rb
sprockets-plugin-0.2.1 spec/spec_helper.rb