spec/support/shifts_scheduling_helper.rb
# Capybara brower helpers, modifies browser state
Capybara brower helpers, modifies browser state
Capybara brower helpers modifies browser state
def visit_calendar_on_date(calendar, date)
    path = calendar_path(calendar)+"?date="+date.strftime("%Y-%m-%d")
    visit path
    expect(page).to have_content(date.to_s(:just_date_long))
  end
def visit_calendar_on_date ( calendar , date ) path = calendar_path ( calendar ) + "?date=" + date . strftime ( "%Y-%m-%d" ) visit path expect ( page ) . to have_content ( date . to_s ( :just_date_long ) ) end
Capybara brower helpers, modifies browser state
Capybara brower helpers modifies browser state
calendar
date