Sha256: 53d6e1868f1bad5c9fa62c1d67b5213394f727b36cbb3e81df3a42590e7f5836

Contents?: true

Size: 325 Bytes

Versions: 3

Compression:

Stored size: 325 Bytes

Contents

module ActionController
  class TestCase
    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

3 entries across 3 versions & 1 rubygems

Version Path
dchelimsky-rspec-rails-1.1.99.6 lib/spec/rails/extensions/action_controller/test_case.rb
dchelimsky-rspec-rails-1.1.99.7 lib/spec/rails/extensions/action_controller/test_case.rb
dchelimsky-rspec-rails-1.1.99.8 lib/spec/rails/extensions/action_controller/test_case.rb