Sha256: ef39220b7b4a08363f07ebf9baf69fb822308c8dfff8023d66b2743d8334aadb

Contents?: true

Size: 429 Bytes

Versions: 4

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

4 entries across 4 versions & 1 rubygems

Version Path
sprockets-plugin-0.2.0 spec/spec_helper.rb
sprockets-plugin-0.1.2 spec/spec_helper.rb
sprockets-plugin-0.1.1 spec/spec_helper.rb
sprockets-plugin-0.1.0 spec/spec_helper.rb