Sha256: 14b61bd95204a396ba8f9a7f53dc4ea713a0bb8b950c2bac6664c84cf1bf4c25

Contents?: true

Size: 526 Bytes

Versions: 14

Compression:

Stored size: 526 Bytes

Contents

require 'test_setup'

require 'action_controller'
require 'action_controller/test_case'

TestRoutes = ActionDispatch::Routing::RouteSet.new
TestRoutes.draw do
  get ':controller(/:action)'
end

class ActionController::Base

  include IntercomRails::CustomDataHelper
  include IntercomRails::AutoInclude::Method
  after_filter :intercom_rails_auto_include

  include TestRoutes.url_helpers
  include TestRoutes.mounted_helpers

end

class ActionController::TestCase

  def setup
    super
    @routes = TestRoutes
  end
  
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
intercom-rails-0.2.24 test/action_controller_test_setup.rb
intercom-rails-0.2.23 test/action_controller_test_setup.rb
intercom-rails-0.2.22 test/action_controller_test_setup.rb
intercom-rails-0.2.21 test/action_controller_test_setup.rb
intercom-rails-0.2.20 test/action_controller_test_setup.rb
intercom-rails-0.2.19 test/action_controller_test_setup.rb
intercom-rails-0.2.18 test/action_controller_test_setup.rb
intercom-rails-0.2.17 test/action_controller_test_setup.rb
intercom-rails-0.2.16 test/action_controller_test_setup.rb
intercom-rails-0.2.15 test/action_controller_test_setup.rb
intercom-rails-0.2.14 test/action_controller_test_setup.rb
intercom-rails-0.2.13 test/action_controller_test_setup.rb
intercom-rails-0.2.12 test/action_controller_test_setup.rb
intercom-rails-0.2.11 test/action_controller_test_setup.rb