From 035acada247cd579777c46ef0aaabcab9abb932a Mon Sep 17 00:00:00 2001 From: Gopesh Tulsyan Date: Thu, 5 Jun 2014 11:59:19 +0530 Subject: [PATCH] Fix volunteers spec, failing test due zero in days --- spec/features/volunteers_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/volunteers_spec.rb b/spec/features/volunteers_spec.rb index d8c39c60..df696adf 100644 --- a/spec/features/volunteers_spec.rb +++ b/spec/features/volunteers_spec.rb @@ -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')