Sha256: 0670e5b7acf4e296145b6aeb9e1781f136a7ff389ba5ccd6b28413b333c07bde

Contents?: true

Size: 237 Bytes

Versions: 7

Compression:

Stored size: 237 Bytes

Contents

require 'spec_helper'

module Beatport 
  describe Collection do
    describe '.new' do
      it "should raise an error when given invalid data" do
        expect { Collection.new(Item, 1) }.to raise_exception
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
beatport-0.1.8 spec/collection_spec.rb
beatport-0.1.7 spec/collection_spec.rb
beatport-0.1.6 spec/collection_spec.rb
beatport-0.1.5 spec/collection_spec.rb
beatport-0.1.3 spec/collection_spec.rb
beatport-0.1.2 spec/collection_spec.rb
beatport-0.1.1 spec/collection_spec.rb