Sha256: dbbefa905c3be80bd6ae6d4d29dac1bfb45cfe8c3d23de64a54ed3f03d9ef4a7
Contents?: true
Size: 721 Bytes
Versions: 8
Compression:
Stored size: 721 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' require 'debugger' 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.around(:each) do |example| IndexHelper.delete_all IndexHelper.create_all example.run IndexHelper.delete_all end config.after(:each) do Timecop.return end end
Version data entries
8 entries across 8 versions & 1 rubygems