Sha256: 2575af8dad8825308d8688383ac1fff7e169de8b43864a3bbcc86c6bfbf85431
Contents?: true
Size: 463 Bytes
Versions: 2
Compression:
Stored size: 463 Bytes
Contents
require 'spec_helper' describe GoogleCells::Reader do let(:object) do obj = Object.new obj.extend(GoogleCells::Reader) obj end describe "#each_entry" do it "iterates over raw xml entries" do VCR.use_cassette('google_cells/reader') do |c| count = 0 object.each_entry do |e| e.class.should eq Nokogiri::XML::Document count +=1 end count.should eq 3 end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
google-cells-0.4.0 | spec/google_cells/reader_spec.rb |
google-cells-0.3.0 | spec/google_cells/reader_spec.rb |