Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (25 sloc) 0.751 kB
ENV["RAILS_ENV"] = "test"
require "pry"
require "active_model/railtie"
require "action_controller/railtie"
require "action_view/railtie"
require "actionpack/action_caching/railtie"
require "actionpack/page_caching/railtie"
require "rspec/rails"
require "high_voltage"
require "fake_app"
Rails.backtrace_cleaner.remove_silencers!
Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each { |file| require file }
RSpec.configure do |config|
config.infer_spec_type_from_file_location!
config.after(:each) do
HighVoltage.set_default_configuration
Rails.application.reload_routes!
end
config.expect_with :rspec do |c|
c.syntax = :expect
end
config.include RSpec::Matchers
config.mock_with :rspec
config.order = "random"
end
Jump to Line
Something went wrong with that request. Please try again.