aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/lib
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2015-09-27 23:51:21 +0900
committeryui-knk <spiketeika@gmail.com>2015-09-27 23:51:21 +0900
commita314879a96a92cfdd06b0ea998fe3201fad604fa (patch)
treeb17d77ab8b2e8aadca188b6a8baf46d3ddf36c25 /actionview/test/lib
parent8c879b7afa7609695ce1cda3b229c7e9a572293d (diff)
downloadrails-a314879a96a92cfdd06b0ea998fe3201fad604fa.tar.gz
rails-a314879a96a92cfdd06b0ea998fe3201fad604fa.tar.bz2
rails-a314879a96a92cfdd06b0ea998fe3201fad604fa.zip
[ci skip] Fix which method `FormHelper#date_field` try to call
When this method was implemented (https://github.com/rails/rails/pull/5016/files), `to_date` is called. But this behavior was chagned refactoring (https://github.com/rails/rails/pull/6452/files). In the first commit, there were not test which asserts `to_date` is called. I think trying `to_date` is more useful than trying `strftime`, because we can write `"2015-01-01".to_date`. But first fix comments to match actual behavior.
Diffstat (limited to 'actionview/test/lib')
0 files changed, 0 insertions, 0 deletions