Sha256: 4d4c4bd996134ccc0251eebb27fcf2ed6a55b36daf18368953b957c738ab1e92
Contents?: true
Size: 424 Bytes
Versions: 2
Compression:
Stored size: 424 Bytes
Contents
require 'spec_helper' describe GoogleCells::Fetcher do let(:object) do obj = Object.new obj.extend(GoogleCells::Fetcher) obj end describe "#raw" do it "returns the raw xml body of an http GET response" do VCR.use_cassette('google_cells/fetcher') do |c| doc = object.raw doc.should_not be_empty Nokogiri::XML(doc).errors.should be_empty end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
google-cells-0.4.0 | spec/google_cells/fetcher_spec.rb |
google-cells-0.3.0 | spec/google_cells/fetcher_spec.rb |