* fix test

This commit is contained in:
Seth Call 2014-06-30 20:28:35 -05:00
parent 8986797435
commit b033b84425
2 changed files with 2 additions and 1 deletions

View File

@ -49,6 +49,7 @@ describe "Create Session Flow", :js => true, :type => :feature, :capybara_featur
find('.recurring-mode-list-holder .easydropdown')
# by selecting this time, the end-time-list should auto-select to 6:30PM
# Out for the time being; because the contents of the dropdown is based on the current time
#jk_select('05:30 PM', '#start-time-list')
#find('.end-time-list-holder .selected', text: '06:30 PM')
end

View File

@ -62,7 +62,7 @@ describe "Scheduled Music Session API ", :type => :api do
last_response.status.should eql(200)
music_sessions = JSON.parse(last_response.body)
music_sessions.count.should eql(2)
music_sessions.count.should eql(3)
expect(Time.parse(music_sessions[0]["scheduled_start"]).to_i).to be < Time.parse(music_sessions[1]["scheduled_start"]).to_i
end