Sha256: 95e5891fb45c45efb5583dc2412e4e2c1cffebee564a561db275c08a7192e5c2
Contents?: true
Size: 648 Bytes
Versions: 3
Compression:
Stored size: 648 Bytes
Contents
require 'action_dispatch' require 'capybara/rails' require 'capybara/dsl' module RSpec module Rails module IntegrationExampleGroup extend ActiveSupport::Concern include ActionDispatch::Integration::Runner include RSpec::Rails::TestUnitAssertionAdapter include ActionDispatch::Assertions include Capybara include RSpec::Matchers module InstanceMethods def app ::Rails.application end def last_response page end end included do before do @router = ::Rails.application.routes end end end end end
Version data entries
3 entries across 3 versions & 2 rubygems