Sha256: 8dc4c70e840a65af4312991c66cf5cd1d672280601bcadf56e1486ed450e7791
Contents?: true
Size: 653 Bytes
Versions: 11
Compression:
Stored size: 653 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::DSL 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
11 entries across 11 versions & 3 rubygems