Sha256: d983303f393b9f006bcce1f2eae887acad409a317937849222214c03d5b14a5e
Contents?: true
Size: 499 Bytes
Versions: 1
Compression:
Stored size: 499 Bytes
Contents
require "rspec" require "storage" require "fileutils" require "pathname" TMP = Pathname.new(File.expand_path(File.dirname(__FILE__) + "/tmp")) RESOURCES = Pathname.new(File.expand_path(File.dirname(__FILE__) + "/resources")) RSpec.configure do |config| config.formatter = "documentation" config.color_enabled = true config.before :each do FileUtils.rm_rf(TMP) rescue nil FileUtils.mkdir_p(TMP) rescue nil end config.after :each do FileUtils.rm_rf(TMP) rescue nil end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
storage-0.1.0 | spec/spec_helper.rb |