spec/support/feature_helper.rb
# Capybara brower helpers, modifies browser state
Capybara brower helpers, modifies browser state
Capybara brower helpers modifies browser state
def fill_in_date(prefix, target_datetime)
    select target_datetime.year.to_s, :from => "#{prefix}_1i" 
    select Date::MONTHNAMES[target_datetime.month], :from => "#{prefix}_2i"
    select target_datetime.day.to_s, :from => "#{prefix}_3i"
  end
def fill_in_date ( prefix , target_datetime ) select target_datetime . year . to_s , :from => "#{prefix}_1i" select Date :: MONTHNAMES [ target_datetime . month ] , :from => "#{prefix}_2i" select target_datetime . day . to_s , :from => "#{prefix}_3i" end
Capybara brower helpers, modifies browser state
Capybara brower helpers modifies browser state
prefix
target_datetime