Sha256: 80137291ee412dafe1631a5001f687ba3b9b5c8aa96e015a890e9f6352dc6fc5
Contents?: true
Size: 656 Bytes
Versions: 1
Compression:
Stored size: 656 Bytes
Contents
ENV['RACK_ENV'] ||= 'test' $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) APP_DIR ||= File.expand_path('../../', __FILE__) require 'waistband' require 'rspec' require 'timecop' require 'active_support/core_ext/integer/time' Dir["#{APP_DIR}/spec/support/**/*.rb"].each {|f| require f} RSpec.configure do |config| config.before(:all) do Waistband.configure do |c| c.config_dir = "#{APP_DIR}/spec/config/waistband" end end config.before(:each) do |c| IndexHelper.destroy_all! IndexHelper.create_all! end config.after(:each) do Timecop.return end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
waistband-0.0.15 | spec/spec_helper.rb |