Sha256: aa31e5edb6293506d2fcbf92500493a636ba730c27ca0eeb05b89c7503173f34
Contents?: true
Size: 457 Bytes
Versions: 4
Compression:
Stored size: 457 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.after :all do FileUtils.rm_rf '.awestruct' if File.exists? '.awestruct' end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
awestruct-0.5.1 | spec/spec_helper.rb |
awestruct-0.5.1a | spec/spec_helper.rb |
awestruct-0.5.0 | spec/spec_helper.rb |
awestruct-0.5.0.cr | spec/spec_helper.rb |