aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/testing
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | move "check for ruby-prof" from AD/testing/performance_test to ↵Gonçalo Silva2011-03-241-13/+9
| | | | | | | | | | | | | | | | | | | | AS/testing/performance, where it is actually required
* | | | | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-141-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/date_helper.rb railties/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt
| * | | | | Follow code conventions on docsSebastian Martinez2011-05-101-1/+1
| | |_|_|/ | |/| | |
* / | | | typoJason Dew2011-05-131-1/+1
|/ / / /
* | | | Flunk makes a lot more sense, doesnt it (hat tip @tenderlove)David Heinemeier Hansson2011-05-021-1/+1
| | | |
* | | | We cant use assert_block because its buggy in MiniTest and wont actually ↵David Heinemeier Hansson2011-04-221-1/+1
| |_|/ |/| | | | | | | | show you the failure message you provide -- instead you just always get a "Expected block to return true"
* | | Remove `#among?` from Active SupportPrem Sichanugrist2011-04-132-2/+2
| | | | | | | | | | | | | | | | | | After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now. It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`.
* | | renames response_from_page_or_rjs -> response_from_page, and extracts the ↵Xavier Noria2011-04-131-58/+5
| | | | | | | | | | | | RJS in it
* | | removes assert_select_rjsXavier Noria2011-04-131-139/+1
| | |
* | | Change Object#either? to Object#among? -- thanks to @jamesarosen for the ↵David Heinemeier Hansson2011-04-123-3/+3
| | | | | | | | | | | | suggestion!
* | | Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-113-3/+7
| | | | | | | | | | | | There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?.
* | | Make process reuse the env var passed as argumentSantiago Pastorino2011-04-061-5/+4
| | |
* | | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-04-031-8/+8
|\ \ \ | |_|/ |/| |
| * | Fix grammar, formatting, and cross referencesJohn Firebaugh2011-03-281-8/+8
| |/
* / use assert_equal so we get normal error messages along with our custom ↵Aaron Patterson2011-03-301-3/+3
|/ | | | failure message
* Improve testing of cookies in functional tests:Andrew White2011-03-062-2/+7
| | | | | | | | | - cookies can be set using string or symbol keys - cookies are preserved across calls to get, post, etc. - cookie names and values are escaped - cookies can be cleared using @request.cookies.clear [#6272 state:resolved]
* Remove incorrect assert_recognizes exampleAndrew White2011-02-131-3/+0
|
* Fix assert_recognizes with block constraints [#5805 state:resolved]Andrew White2011-02-131-1/+2
|
* corrected the location of status code symbolsmisfo2011-01-291-1/+1
|
* just use aliasAaron Patterson2010-11-301-3/+1
|
* Remove bazillion warnings from AP suite.José Valim2010-11-231-1/+1
|
* add respond_to? to ActionDispatch::Integration::RunnerSven Fuchs2010-11-221-0/+4
| | | | since Runner uses method_missing to delegate to the integration session it also should define respond_to? accordingly
* Make cookies hash in ActionDispatch::TestProcess indifferent access [#5761 ↵David Trasbo2010-11-071-1/+1
| | | | | | state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Remove this require since active_support/testing/default doesn't exist anymoreSantiago Pastorino2010-10-201-1/+0
|
* removing AS::Testing::Default in favor of just undefing default_testAaron Patterson2010-10-011-2/+1
|
* _ is not a valid scheme name character, \w includes it and also is redundant ↵Emilio Tagua2010-09-291-1/+1
| | | | | | with \d. 'The scheme name consists of a letter followed by any combination of letters, digits, and the plus ("+"), period ("."), or hyphen ("-") characters; and is terminated by a colon (":").'
* Remove redundant conditional.Emilio Tagua2010-09-291-5/+1
|
* Fix an error on 1.8.7.José Valim2010-09-291-1/+1
|
* Avoid (@_var ||= nil) pattern by using initialize methods and ensuring ↵José Valim2010-09-291-0/+1
| | | | everyone calls super as expected.
* Remove more warnings on AP.Emilio Tagua2010-09-281-1/+2
|
* Avoid more uninitialized variable warnings.Emilio Tagua2010-09-281-1/+2
|
* @selected may not be defined here, avoid warning.Emilio Tagua2010-09-281-1/+1
|
* Initialize @app if it doesn't exists.Emilio Tagua2010-09-281-1/+1
|
* Remove more warnings shadowing outer local variable.Emilio Tagua2010-09-271-2/+2
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* _routes must be inside @controller conditional.Emilio Tagua2010-09-271-1/+1
|
* Refactor method to avoid warnings and not run unnecessary code.Emilio Tagua2010-09-271-11/+11
|
* Initialize @cookies.Emilio Tagua2010-09-271-0/+1
|
* Remove more warnings shadowing outer local variable.Emilio Tagua2010-09-271-2/+2
|
* Don't shadow outer local variables.Emilio Tagua2010-09-271-1/+1
|
* Avoid uninitialized variable warning, reuse @integration_session.Emilio Tagua2010-09-271-8/+14
|
* Ask is @controller is defined to avoid warning.Emilio Tagua2010-09-271-1/+1
|
* Fix the precedence issue hereSantiago Pastorino2010-09-261-1/+1
|
* Not need to do this double ternarySantiago Pastorino2010-09-261-1/+1
|
* port is appended twice to HTTP_HOST when host already has the portSantiago Pastorino2010-09-261-3/+3
|
* Remove deprecated stuff in ActionControllerCarlos Antonio da Silva2010-09-261-2/+2
| | | | | | This removes all deprecated classes in ActionController related to Routing, Abstract Request/Response and Integration/IntegrationTest. All tests and docs were changed to ActionDispatch instead of ActionController.
* Don't duplicate Rack::Response functionality. [#5320 state:resolved]John Firebaugh2010-09-251-18/+4
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* fixing bug with rails use of rack-testAaron Patterson2010-09-221-2/+4
|
* Cleanup deprecations in Action DispatchCarlos Antonio da Silva2010-09-061-93/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Added ability to set asset_path for enginesPiotr Sarnacki2010-09-031-1/+1
|
* Expanded routing documentation with current best practicesJoost Baaij2010-08-291-5/+5
|