Sha256: d32f63618d6e339f7e7f8683a9179659b9a87855d26c6e1f455809f07d01d025

Contents?: true

Size: 379 Bytes

Versions: 17

Compression:

Stored size: 379 Bytes

Contents

module ActionController
  class TestCase
    include ::Spec::Rails::Example::RoutingHelpers

    if ::Rails::VERSION::STRING =~ /2\.0/
      # Introduced in Rails 2.1, but we need it for 2.0
      def rescue_action_in_public!
        # See rescue.rb in this same directory
        def request.rescue_action_in_public?
          true
        end
      end
      
    end
  end
end

Version data entries

17 entries across 17 versions & 6 rubygems

Version Path
radiant-1.0.0 ruby-debug/ruby/1.8/gems/rspec-rails-1.3.4/lib/spec/rails/extensions/action_controller/test_case.rb
richzhou-rspec-rails-1.3.4 lib/spec/rails/extensions/action_controller/test_case.rb
rspec-rails-1.3.4 lib/spec/rails/extensions/action_controller/test_case.rb
rspec-rails-1.3.3 lib/spec/rails/extensions/action_controller/test_case.rb
rspec-rails-1.3.3.rc lib/spec/rails/extensions/action_controller/test_case.rb
exception2db-0.0.1 test/rspec-rails/lib/spec/rails/extensions/action_controller/test_case.rb
rspec-rails-w-factory_girl-1.3.2.1 lib/spec/rails/extensions/action_controller/test_case.rb
rspec-rails-w-factory_girl-1.3.2 lib/spec/rails/extensions/action_controller/test_case.rb
rspec-rails-1.3.2 lib/spec/rails/extensions/action_controller/test_case.rb
rspec-rails-1.3.1 lib/spec/rails/extensions/action_controller/test_case.rb
rspec-rails-1.3.0 lib/spec/rails/extensions/action_controller/test_case.rb
hubbub-0.0.11 lib/vendor/plugins/rspec-rails/lib/spec/rails/extensions/action_controller/test_case.rb
hubbub-0.0.10 lib/vendor/plugins/rspec-rails/lib/spec/rails/extensions/action_controller/test_case.rb
hubbub-0.0.9 lib/vendor/plugins/rspec-rails/lib/spec/rails/extensions/action_controller/test_case.rb
hubbub-0.0.8 lib/vendor/plugins/rspec-rails/lib/spec/rails/extensions/action_controller/test_case.rb
hubbub-0.0.6 lib/vendor/plugins/rspec-rails/lib/spec/rails/extensions/action_controller/test_case.rb
rspec-rails-1.2.9 lib/spec/rails/extensions/action_controller/test_case.rb