Sha256: 6e56d906eeec4d8b0db252cce451000a5fc01d3ed176769ff0b3cc2032a9a9e7

Contents?: true

Size: 397 Bytes

Versions: 2

Compression:

Stored size: 397 Bytes

Contents

Given /^I choose the 14th day from the date picker$/ do
  @current_page.datepicker.choose_day 14
end

Then /^I should see today's date highlighted on the date picker$/ do
  todays_day = Time.new.day
  @current_page.datepicker.highlighted_day.should == todays_day.to_s
end

And /^I should see the 14th day selected on the date picker$/ do
  @current_page.datepicker.chosen_day.should == '14'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gwt_widgets-0.0.4 features/step_definitions/datepicker_steps.rb
gwt_widgets-0.0.3 features/step_definitions/datepicker_steps.rb