aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/form_collections_helper_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix RuboCop offensesKoichi ITO2017-08-161-4/+4
| | | | And enable `context_dependent` of Style/BracesAroundHashParameters cop.
* Allow non-English values for collection_radio_buttons/check_boxescolorfulfool2017-08-021-0/+14
|
* Use frozen string literal in actionview/Kir Shatrov2017-07-241-0/+2
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* class Foo < Struct.new(:x) creates an extra unneeded anonymous classAkira Matsuda2017-01-131-2/+1
| | | | because Struct.new returns a Class, we just can give it a name and use it directly without inheriting from it
* Add three new rubocop rulesRafael Mendonça França2016-08-161-17/+17
| | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository.
* remove redundant curlies from hash argumentsXavier Noria2016-08-061-4/+4
|
* modernizes hash syntax in actionviewXavier Noria2016-08-061-28/+28
|
* applies new string literal convention in actionview/testXavier Noria2016-08-061-170/+170
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Fix collection_radio_buttons' hidden_field name and make it appear before ↵Santiago Pastorino2015-12-311-6/+6
| | | | | | the radios Fixes #22773
* Collection check boxes propagates input's id to the label's for attribute.Vasiliy Ermolovich2015-10-201-0/+11
|
* Regression test on CollectionCheckBoxes to accept `include_hidden`Mauro George2015-09-241-0/+7
| | | | as string
* Add a hidden field on the collection_radio_buttonsMauro George2015-09-241-0/+35
| | | | | This will avoid a error be raised when the only input on the form is the `collection_radio_buttons`.
* Fix invalid css selectors in form_collections_helper_test.rb.Timm2014-06-161-11/+11
|
* Migrated test away from escaped quotes.Timm2014-06-161-1/+1
|
* Fixed deprecated selector in form_collections_helper_test.rb with from ↵Timm2014-06-161-1/+1
| | | | catch_invalid_selector. Sweet.
* Fixed Nokogiri::CSS::SyntaxErrors.Timm2014-06-151-32/+32
| | | | Fixed a Nokogiri::CSS::SyntaxError by using its expected format for unicode characters.
* `collection_check_boxes` respects `:index` option for the hidden filed name.Vasiliy Ermolovich2014-04-141-0/+7
| | | | closes #14147
* CollectionHelpers now accepts a readonly optionMauro George2014-04-121-0/+44
|
* Merge pull request #12662 from nashby/include-hidden-collectionRafael Mendonça França2014-03-151-0/+7
|\ | | | | | | | | | | | | | | add include_hidden option to collection_check_boxes helper Conflicts: actionview/CHANGELOG.md actionview/test/template/form_collections_helper_test.rb
| * add include_hidden option to collection_check_boxes helperVasiliy Ermolovich2013-10-271-0/+7
| |
* | "serie" => "series"Waynn Lue2014-01-131-2/+2
| |
* | test description uses "disable" when it should be "disabled"Waynn Lue2013-12-111-1/+1
| |
* | value is "disabled" not "disable"Waynn Lue2013-12-111-1/+1
| |
* | Label only accepts `:index` and `:namespace` attributes from the inputAndriel Nuernberg2013-12-051-0/+36
|/
* Use the given name in html_options for the hidden field in ↵Angel N. Sciortino2013-09-241-0/+7
| | | | collection_check_boxes
* "generates" applies to "collection radio" so it should be singularWaynn Lue2013-09-121-2/+2
| | | I accidentally pushed this change to docrails before realizing that it's technically a code change, so I'm opening this pull request (and rolling back my change to docrails).
* Merge pull request #12143 from rajcybage/fixing_typosCarlos Antonio da Silva2013-09-051-1/+1
|\ | | | | fix actionview and activemodel test cases typos
| * fix actionview and activemodel test cases typosRajarshi Das2013-09-051-1/+1
| |
* | Fix method name typosVipul A M2013-09-051-1/+1
|/
* Move template tests from actionpack to actionviewPiotr Sarnacki2013-06-201-0/+358