aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/testing/assertions/selector.rb
Commit message (Collapse)AuthorAgeFilesLines
* Mark unused variables and make some style fixesAgis Anastasopoulos2013-04-081-2/+2
| | | | It'd be a nice convention to mark the unused variables like this, now that Ruby 2 will issue no warnings for such vars being unused.
* Cleans and removes 'Examples' tag [ci skip]Alvaro Pereyra2012-12-011-2/+0
|
* 1.9 hash syntax changes to docsAvnerCohen2012-10-311-1/+1
|
* Move action_controller/vendor/html-scanner to action_viewPiotr Sarnacki2012-08-281-1/+2
| | | | | | This is another step in moving Action View's dependencies in Action Pack to Action View itself. Also, HtmlScanner seems to be better suited for views rather than controllers.
* load active_support/core_ext/object/inclusion in active_support/railsXavier Noria2012-08-021-1/+0
|
* Removing ==Examples and last blank lines of docs from actionpackFrancesco Rodriguez2012-05-151-6/+0
|
* Remove the leading \n added by textarea on assert_selectSantiago Pastorino2012-03-301-0/+1
|
* Stop referring to Atom as "ATOM"Tom Stuart2012-02-051-1/+1
| | | | | | $ curl -s http://www.ietf.org/rfc/rfc4287 | grep -io ATOM | sort | uniq -c 582 atom 175 Atom
* Remove assert_select_feed from assert_select_encoded documentationTom Stuart2012-02-051-2/+2
| | | | | | This documentation came from the assert_select plugin, but the assert_select_feed method was omitted when the plugin was merged into Rails in 3142502964f94d6144312ae2c368b4c4589fa25a.
* Replaced all 'for' loops with Enumerable#eachNathan Broadbent2012-01-301-2/+2
|
* use assert_equal and assert_operatorAaron Patterson2012-01-061-5/+8
|
* fix assert_select_email to work on non-multipart emails as well as ↵Andrew Kaspick2011-08-111-2/+2
| | | | converting the Mail::Body to a string to prevent errors.
* Follow code conventions on docsSebastian Martinez2011-05-101-1/+1
|
* 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-121-1/+1
| | | | suggestion!
* Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-111-1/+2
| | | | 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?.
* 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
|
* Remove more warnings shadowing outer local variable.Emilio Tagua2010-09-271-2/+2
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Remove more warnings shadowing outer local variable.Emilio Tagua2010-09-271-2/+2
|
* The call-seq directive has no useful effect on our documentation and is not ↵Joost Baaij2010-08-281-19/+0
| | | | | | | | | | | used anywhere else. Worse still, its use breaks some rdoc, replacing method names with a curly brace. Having just one call-seq directive doesn't add anything since this is covered by regular rdoc. Having multiple might make sense, but these are already documented with examples. This partly re-reverts 60de0e56b7f57f0052d7e4f43bd2ef9e363c6a1a but does not touch the vendorized code in html-scanner.
* removed 'unless const_defined?' code smellJosh Kalderimis2010-06-211-23/+19
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix a bunch of minor spelling mistakesEvgeniy Dolzhenko2010-06-111-1/+1
|
* regular expressions are usually ASCII-encoded, so force_encoding the content ↵wycats2010-06-071-2/+0
| | | | of a Node to the encoding of the regular expression is wrong.
* fix assert_select messages to its declaration behaviourPaco Guzman2010-05-151-5/+11
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove CGI.escape in function of Rack::Mount.escapeJosé Valim2010-01-061-1/+1
|
* All AD modules are "deferrable"Joshua Peek2009-12-221-10/+12
|
* Add :redirect to the testable RJS statements [#2612 state:resolved]Jon Wood2009-08-091-3/+10
| | | | | | | Example : assert_select_rjs :redirect, root_path Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Move generic assertions into ActionDispatchJoshua Peek2009-04-301-0/+632