Sha256: 480c954a78308327ca0f889c24420ac511b01806fe37dc04585808afce99697d
Contents?: true
Size: 482 Bytes
Versions: 19
Compression:
Stored size: 482 Bytes
Contents
# encoding: utf-8 $TESTING=true $:.unshift File.expand_path(File.join('..', '..', 'lib'), File.dirname(__FILE__)) require File.join(File.dirname(__FILE__), 'activerecord') require File.join(File.dirname(__FILE__), 'datamapper') require 'spec' require 'carrierwave' alias :running :lambda def file_path( *paths ) File.expand_path(File.join('..', *paths), File.dirname(__FILE__)) end CarrierWave.root = file_path('public') After do FileUtils.rm_rf(file_path("public")) end
Version data entries
19 entries across 19 versions & 5 rubygems