Sha256: dd055e4ae4af37ee136bb5a060910a0745bed62e17c7546be3290c869a79da54
Contents?: true
Size: 335 Bytes
Versions: 1
Compression:
Stored size: 335 Bytes
Contents
erequire '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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
medivo-0.0.7 | spec/models/labs_spec.rb |