Sha256: 562620ce67ed4d19f806398d1f3e961db9eb78b62fbac96353aade8d7adab5b3
Contents?: true
Size: 667 Bytes
Versions: 24
Compression:
Stored size: 667 Bytes
Contents
require 'action_dispatch' require 'capybara/rails' require 'capybara/dsl' module RSpec::Rails module IntegrationExampleGroup extend ActiveSupport::Concern include ActionDispatch::Integration::Runner include RSpec::Rails::TestUnitAssertionAdapter include ActionDispatch::Assertions include Capybara::DSL include RSpec::Matchers def app ::Rails.application end def last_response page end included do before do @router = ::Rails.application.routes end end RSpec.configure do |c| c.include self, :example_group => { :file_path => /\bspec\/integration\// } end end end
Version data entries
24 entries across 24 versions & 1 rubygems