Sha256: 477103afa15ede86849b5e05a31d8c6f954f6fa8dc83edae95cddb7f1c1c12f0

Contents?: true

Size: 219 Bytes

Versions: 14

Compression:

Stored size: 219 Bytes

Contents

require 'spec_helper'

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
beatport-0.3.0 spec/item_spec.rb
beatport-0.2.3 spec/item_spec.rb
beatport-0.2.2 spec/item_spec.rb
beatport-0.2.1 spec/item_spec.rb
beatport-0.2.0 spec/item_spec.rb
beatport-0.1.10 spec/item_spec.rb
beatport-0.1.9 spec/item_spec.rb
beatport-0.1.8 spec/item_spec.rb
beatport-0.1.7 spec/item_spec.rb
beatport-0.1.6 spec/item_spec.rb
beatport-0.1.5 spec/item_spec.rb
beatport-0.1.3 spec/item_spec.rb
beatport-0.1.2 spec/item_spec.rb
beatport-0.1.1 spec/item_spec.rb