where is the source "get(..) post(..).." methods from ActionController::TestCase

hi, i was wondering, where i can find the source for "get(..), post(..)" methods. since i can see these are inherited from ActionController::TestCase. i had a quick look on the actionpack/lib/ test_case.rb and later i found it is inherited from ActiveSupport::TestCase and making no exception i had a look on activesupport/lib/test_case.rb

again i found that was inherited from Test::Unit::TestCase. so i think these "get, post, put" methods are coming from some other script which was added in different place.

is there someone how could help me to tell where i can find the source for "get, post, put.." methods of ActionController::TestCase.

best wishes, nhm tanveer hossain khan (hasan) http://hasan.we4tech.com

hi, i was wondering, where i can find the source for "get(..), post(..)" methods. since i can see these are inherited from ActionController::TestCase. i had a quick look on the actionpack/lib/ test_case.rb and later i found it is inherited from ActiveSupport::TestCase and making no exception i had a look on activesupport/lib/test_case.rb

They're in test_process.rb, line 361 (if you're on rails 2.0.2)

Fred

hi fred, thanks a lot, i got it . %w( get post put delete head );

dynamic language is nice but very dynamic like this is pretty problemsome :slight_smile:

best wishes,