# Testing date\_select

**URL:** <https://www.ruby-forum.com/t/testing-date-select/129155>\
**Category:** Rails\
**Created:** [February 14, 2008, 11:09pm UTC](https://www.ruby-forum.com/t/testing-date-select/129155 "2008-02-14T23:09:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nappin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f475e1/32.png) [@nappin](https://www.ruby-forum.com/u/nappin)\
**Post date:** [February 14, 2008, 11:09pm UTC](https://www.ruby-forum.com/t/testing-date-select/129155/1 "2008-02-14T23:09:09Z")

</div>

I’m trying to write a functional test for a POST with a date\_select.  
The date\_select outputs html like this:

Which makes setting the params for the POST cumbersome. Is there an  
easy way to set the params for the POST in a functional test from a  
Date/DateTime/Time object?

Thanks!
