Fix volunteers spec, failing test due zero in days

This commit is contained in:
Gopesh Tulsyan
2014-06-05 11:59:19 +05:30
parent fd20e67c76
commit 035acada24

View File

@@ -71,7 +71,7 @@ feature Conference do
set("#{Date.today.strftime('%B')}")
page.
find('div.nested-fields:nth-of-type(1) select:nth-of-type(3)').
set("#{Date.today.strftime('%d')}")
set("#{Date.today.strftime('%-d')}")
page.
find('div.nested-fields:nth-of-type(1) div:nth-of-type(1) textarea').
set('Example Person')