Sha256: 42f8683ef3bb5368f60a33b67064d76058a641bd8e8d2517a7cd3702cf6f6394

Contents?: true

Size: 632 Bytes

Versions: 1

Compression:

Stored size: 632 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'bundler-sass'
require 'fileutils'

# 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|

  def teardown_test_directory directory
    FileUtils.rm_rf directory
  end

  def build_file_and_hash filename, dependencies
    hash = {filename => dependencies}
    file = SassCreator::SassFile.new(hash)
    file.build_import_comments
    hash
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bundler-sass-0.1.2 spec/spec_helper.rb