spec for schedule.rb