Sha256: 225967228bd4459c0811c3982af8acea16d95547dae0ed18ea3c96c14cac15fe
Contents?: true
Size: 1.04 KB
Versions: 5
Compression:
Stored size: 1.04 KB
Contents
# encoding: utf-8 require 'simplecov' require 'coveralls' Coveralls.wear! SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter ] SimpleCov.start do add_filter "/test/" add_filter "/config/" end # Configure Rails Environment ENV["RAILS_ENV"] = "test" require File.expand_path("../dummy/config/environment.rb", __FILE__) require "rails/test_help" require 'capybara/rails' require 'capybara/poltergeist' Capybara.javascript_driver = :poltergeist Rails.backtrace_cleaner.remove_silencers! # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } # Load fixtures from the engine if ActiveSupport::TestCase.method_defined?(:fixture_path=) ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__) end class ActionController::TestCase include RedisDictionary::Engine.routes.url_helpers end class ActionDispatch::IntegrationTest # Make the Capybara DSL available in all integration tests include Capybara::DSL end
Version data entries
5 entries across 5 versions & 1 rubygems