Sha256: 9c6ddec07c820784b2e708fa6cdd7fbc1c3caecbacaf8a1fb9edd7e7f9b52072

Contents?: true

Size: 488 Bytes

Versions: 7

Compression:

Stored size: 488 Bytes

Contents

require 'rubygems'
require 'rspec'
require 'logger'
require 'fileutils'

Dir["./spec/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|
  config.before :all do
    FileUtils.mkdir('.awestruct') unless File.exists? '.awestruct'
    $LOG = Logger.new('.awestruct/test.log')
  end
  config.mock_framework = :rspec
  config.include NokogiriMatchers
  config.include EmmetMatchers
  config.after :all do
    FileUtils.rm_rf '.awestruct' if File.exists? '.awestruct'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
awestruct-0.5.4.rc3 spec/spec_helper.rb
awestruct-0.5.4.rc2 spec/spec_helper.rb
awestruct-0.5.4.rc spec/spec_helper.rb
awestruct-0.5.4.beta1 spec/spec_helper.rb
awestruct-0.5.3 spec/spec_helper.rb
awestruct-0.5.2.1 spec/spec_helper.rb
awestruct-0.5.2 spec/spec_helper.rb