Sha256: 0785bdf4504314fd7466e9f07fb502958f95063b49b9d25dbe843184e9d56549

Contents?: true

Size: 518 Bytes

Versions: 7

Compression:

Stored size: 518 Bytes

Contents

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

module Crunchbase
  describe FundingRound, :vcr  do
    describe 'a list' do
      subject { FundingRound.lists_for_permalink("facebook") }

      it_has_behavior 'pagination'
      it_behaves_like 'a container', 11

      its(:size) { should eq(11) }
    end

    describe 'an entity' do
      subject { FundingRound.get("37bd05f961af726ba3c1b279da842805") }

      its(:permalink) { should eq('37bd05f961af726ba3c1b279da842805') }
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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