Sha256: cf68af24b806eed07dad7a989f5a8cd6b007e0adaae310c3a6d06095fa0441c7
Contents?: true
Size: 372 Bytes
Versions: 2
Compression:
Stored size: 372 Bytes
Contents
require File.dirname(__FILE__) + "/spec_helper" describe Sites do before(:each) do @client = Client.new end it "retrieves sites" do result = @client.sites.fetch result.should respond_to(:items) result.page.should == 1 end it "retrieves second page of sites" do result = @client.sites.fetch :page => 2 result.page.should == 2 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubyoverflow-2.0.2.pre1 | spec/sites_spec.rb |
rubyoverflow-0.5 | spec/sites_spec.rb |