master/spec/spec_helper.rb
2011-05-10 21:22:25 +02:00

22 lines
487 B
Ruby

require 'rubygems'
require 'guard'
require 'rspec'
ENV["GUARD_ENV"] = 'test'
Dir["#{File.expand_path('..', __FILE__)}/support/**/*.rb"].each { |f| require f }
puts "Please do not update/create files while tests are running."
RSpec.configure do |config|
config.color_enabled = true
config.filter_run :focus => true
config.run_all_when_everything_filtered = true
config.before(:each) do
@fixture_path = Pathname.new(File.expand_path('../fixtures/', __FILE__))
end
end