spec/spec_helper.rb in dbcp-0.1.0 vs spec/spec_helper.rb in dbcp-0.2.0
- old
+ new
@@ -5,5 +5,8 @@
require_relative '../lib/dbcp'
Dir[File.expand_path("../support/**/*.rb", __FILE__)].sort.each { |f| require f }
+RSpec.configure do |config|
+ config.before(:suite) { Dir.chdir File.expand_path('../fixtures', __FILE__) }
+end