spec/requests/labs_spec.rb in medivo-0.2.0 vs spec/requests/labs_spec.rb in medivo-0.2.1

- old
+ new

@@ -37,10 +37,10 @@ end it "/labs/appointments returns appointment data as json" do body = {'time'=> ["11/03/2011|08:30 AM", "11/04/2011|08:30 AM"]} stub(Medivo::Appointment).find(@lab_code, @date, nil) { body } - visit Medivo::Engine.routes.url_helpers.data_appointments_path :lab_code=>@lab_code, :appointment_date=>@date + visit Medivo::Engine.routes.url_helpers.data_appointments_path :lab_code=>@lab_code, :date=>@date page.body.should match "08:30 AM" end #it "/labs/appointments returns appointment data as json", :js=>true, :driver=>:selenium_chrome do # body = {'time'=> ["11/03/2011|08:30 AM", "11/04/2011|08:30 AM"]}