Sha256: 29a9764e0cb65683bd76837c2a140542883342160b5198e88489123763d2a7e2
Contents?: true
Size: 751 Bytes
Versions: 2
Compression:
Stored size: 751 Bytes
Contents
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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
high_voltage-2.4.0 | spec/spec_helper.rb |
high_voltage-2.3.0 | spec/spec_helper.rb |