Sha256: 77a4080e8d2b704cc215095e9ee555de2521c9c1ee9c902cca09f0ec695799e6

Contents?: true

Size: 419 Bytes

Versions: 7

Compression:

Stored size: 419 Bytes

Contents

require 'spec_helper'
require 'hooloo'

describe Hooloo::Company do
  it 'should list all companies' do
    Hooloo::Company.list.must_be_instance_of Array
    Hooloo::Company.list.each { |x| x.must_be_instance_of Hooloo::Company }
  end
  it 'should get a company by id' do
    skip 'Apparently there is a different system for this'
    co = Hooloo::Company.new 151
    co.must_be_instance_of Hooloo::Company
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hooloo-0.3.2 spec/hooloo/company_spec.rb
hooloo-0.3.1 spec/hooloo/company_spec.rb
hooloo-0.3.0 spec/hooloo/company_spec.rb
hooloo-0.2.1 spec/hooloo/company_spec.rb
hooloo-0.2.0 spec/hooloo/company_spec.rb
hooloo-0.1.1 spec/hooloo/company_spec.rb
hooloo-0.1.0 spec/hooloo/company_spec.rb