Sha256: d758057fab7069bb2d7acb3abd7f074b6c1772a869441e61cf254759acd1f723

Contents?: true

Size: 520 Bytes

Versions: 7

Compression:

Stored size: 520 Bytes

Contents

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

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

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

      it_has_behavior 'pagination'
    end

    describe 'an entity' do
      subject { Acquisition.get("7a3d7915ed43073c0e4b5b0d7601def8") }

      its(:name) { should eq('Acquisition') }
      its(:permalink) { should eq('7a3d7915ed43073c0e4b5b0d7601def8') }
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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