Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Configure Rails Envinronment
- ENV["RAILS_ENV"] = "test"
- require File.expand_path("../dummy/config/environment.rb", __FILE__)
- require 'rspec/rails'
- ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../')
- # Requires supporting ruby files with custom matchers and macros, etc,
- # in spec/support/ and its subdirectories.
- Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f }
- RSpec.configure do |config|
- config.use_transactional_fixtures = true
- end
Add Comment
Please, Sign In to add comment