Sha256: 89526b30942f94df33362ef0d8acd646b5ba2c050cc020c21c3b9d81511cdec9

Contents?: true

Size: 422 Bytes

Versions: 4

Compression:

Stored size: 422 Bytes

Contents

require "bundler/setup"
Bundler.require(:default, :development)

require "storage"
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|
  cleaner = proc do
    FileUtils.rm_rf(TMP) rescue nil
    FileUtils.mkdir_p(TMP) rescue nil
  end

  config.before(:each, &cleaner)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
storage-0.3.2 spec/spec_helper.rb
storage-0.3.1 spec/spec_helper.rb
storage-0.3.0 spec/spec_helper.rb
storage-0.2.0 spec/spec_helper.rb