spec/requests/labs_spec.rb in medivo-0.0.4 vs spec/requests/labs_spec.rb in medivo-0.0.7

- old
+ new

@@ -8,10 +8,10 @@ describe "showing lab list and map" do before do @zip_code = "90210" - stub(Medivo::ZipCode).find_by_zip_code(@zip_code) { BeverlyHillsZipCode } + #stub(Medivo::ZipCode).find_by_zip_code(@zip_code) { BeverlyHillsZipCode } stub(Medivo::Lab).findLabs(@zip_code) { [BeverlyHillsLab1, BeverlyHillsLab2] } end it "/labs/data returns lab and zip data as json" do visit Medivo::Engine.routes.url_helpers.data_labs_path :zip_code => @zip_code