Sha256: 8de0545ed61f143a2e5a33d7f8a5e8940ee7d9e32e579da4eb038804e65326b5

Contents?: true

Size: 377 Bytes

Versions: 16

Compression:

Stored size: 377 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

16 entries across 16 versions & 4 rubygems

Version Path
cavalle-rspec-rails-1.2.2.0.1 lib/spec/rails/extensions/action_controller/test_case.rb
cavalle-rspec-rails-1.2.2.0.2 lib/spec/rails/extensions/action_controller/test_case.rb
cavalle-rspec-rails-1.2.3.1 lib/spec/rails/extensions/action_controller/test_case.rb
cavalle-rspec-rails-1.2.4.0.1 lib/spec/rails/extensions/action_controller/test_case.rb
dchelimsky-rspec-rails-1.1.99.13 lib/spec/rails/extensions/action_controller/test_case.rb
dchelimsky-rspec-rails-1.1.99.9 lib/spec/rails/extensions/action_controller/test_case.rb
mcmire-rspec-rails-1.1.99.9 lib/spec/rails/extensions/action_controller/test_case.rb
rspec-rails-1.2.7 lib/spec/rails/extensions/action_controller/test_case.rb
rspec-rails-1.2.7.1 lib/spec/rails/extensions/action_controller/test_case.rb
rspec-rails-1.2.0 lib/spec/rails/extensions/action_controller/test_case.rb
rspec-rails-1.2.5 lib/spec/rails/extensions/action_controller/test_case.rb
rspec-rails-1.2.3 lib/spec/rails/extensions/action_controller/test_case.rb
rspec-rails-1.2.2 lib/spec/rails/extensions/action_controller/test_case.rb
rspec-rails-1.2.6 lib/spec/rails/extensions/action_controller/test_case.rb
rspec-rails-1.2.4 lib/spec/rails/extensions/action_controller/test_case.rb
rspec-rails-1.2.1 lib/spec/rails/extensions/action_controller/test_case.rb