Sha256: 3f81f64602c435ceefb2b2942abaddddc95c49d6d7b1886ef2c3ce813119863b
Contents?: true
Size: 615 Bytes
Versions: 10
Compression:
Stored size: 615 Bytes
Contents
require File.join(File.dirname(__FILE__), "..", "spec_helper.rb") module Crunchbase describe Category do describe "advanced indexing" do before(:all) do @all_categories = Category.lists_for_permalink("facebook") end it "should pull from web api" do @all_categories.per_page.should == 1000 @all_categories.current_page.should == 1 @all_categories.size.should == 7 @all_categories.items.count.should == 7 end end it "return categories lists" do results = Category.list(1) results.per_page.should == 1000 end end end
Version data entries
10 entries across 10 versions & 1 rubygems