aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/date_helper_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* making selected value to accept Hash like the default option. E.g. selected: ↵Lecky Lao2015-10-291-0/+20
| | | | | | | | {day: params[:day].to_i, month: params[:month].to_id} Adds in test test_date_select_with_selected_in_hash and change log fixes typo in CHANGELOG
* :put_litter_in_its_place: Unused methodsAkira Matsuda2015-04-251-8/+0
|
* Silence warning from requiring mathnPrem Sichanugrist2015-04-221-1/+1
| | | | | | | | | Running Action View test case currently printing out this warning: lib/mathn.rb is deprecated This should silence the warning since we really want to require this file in this test.
* Use directly TZInfo::Timezone without proxybrainopia2015-01-041-1/+1
| | | | | Since real timezone is loaded anyway in `#utc_offset` which is called during `#create`
* Duplicated Hash key :promptAkira Matsuda2014-11-191-1/+1
|
* All these tests are passing nowRafael Mendonça França2014-07-151-4/+0
|
* Change date helper tests to expect attributes with double quoted strings.Timm2014-06-161-14/+15
|
* Added related Nokogiri issue link to tests that fail with unknown encoding ↵Timm2014-06-161-4/+4
| | | | ASCII-8BIT.
* Marked some tests as pending in date_helper_test.rb.Timm2014-06-151-0/+4
|
* Fix date_select option overwriting html classesIzumi Wong-Horiuchi2014-03-241-0/+16
| | | | | with_css_classes: true option overwrites other html classes. Concatenate day month and year classes rather than overwriting.
* implements new option :month_format_string for date select helpers [Closes ↵Xavier Noria2014-02-151-0/+10
| | | | #13618]
* Remove privatizing of Fixnum#/ from assert_distance_of_time_in_wordsAlex Tambellini2013-08-051-5/+7
| | | | | | | | MRI reimplemented Date in C so it doesn't hit this division anymore while JRuby still uses the old stdlib implementation of Date so it will always hit this. With this change the actionview date_helper_test.rb tests should pass on JRuby.
* Move template tests from actionpack to actionviewPiotr Sarnacki2013-06-201-0/+3199