Sha256: 48ebcb50622e5fcaed6ee785edd2477aac950bb9e18d229a40e5e7e21b085c28

Contents?: true

Size: 403 Bytes

Versions: 7

Compression:

Stored size: 403 Bytes

Contents

require File.join(File.dirname(__FILE__), "..", "spec_helper.rb")

module Crunchbase
  describe Category, :vcr  do
    subject { Category.lists_for_permalink("facebook") }

    it_has_behavior 'pagination'
    it_behaves_like 'a container', 7

    its(:size) { should eq(7) }


    it "return categories lists" do
      results = Category.list(1)
      results.per_page.should == 1000
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
crunchbase_v2-1.1.6 spec/crunchbase/category_spec.rb
crunchbase_v2-1.1.5 spec/crunchbase/category_spec.rb
crunchbase_v2-1.1.4 spec/crunchbase/category_spec.rb
crunchbase_v2-1.1.3 spec/crunchbase/category_spec.rb
crunchbase_v2-1.1.2 spec/crunchbase/category_spec.rb
crunchbase_v2-1.1.1 spec/crunchbase/category_spec.rb
crunchbase_v2-1.1.0 spec/crunchbase/category_spec.rb