require_relative "test_helper" # Configure Rails Envinronment ENV["RAILS_ENV"] = "test" require File.expand_path("../dummy/config/environment.rb", __FILE__) require "rails/test_help" Rails.backtrace_cleaner.remove_silencers! # Configure capybara for integration testing require "capybara/rails" Capybara.default_driver = :rack_test Capybara.default_selector = :css class ActiveSupport::IntegrationCase < ActiveSupport::TestCase include Capybara::DSL include Rails.application.routes.url_helpers end