Sha256: 49ff8d79fbd13467006ffc261b1eec75166746c8eb288bdd065ed6007ded6820
Contents?: true
Size: 334 Bytes
Versions: 57
Compression:
Stored size: 334 Bytes
Contents
require 'spec_helper' describe Medivo::Lab do it "finds labs" do zip_code = 90210 labs = [BeverlyHillsLab1, BeverlyHillsLab2] stub_request(:get, "http://test:test@test.medivo.com/find_psc/#{zip_code}?radius=15"). to_return(:body => labs.to_xml) Medivo::Lab.findLabs(zip_code).should == labs end end
Version data entries
57 entries across 57 versions & 1 rubygems