Sha256: 0bf6ef29b7a970e7bce591f8245320669277f4909ec02a304c6202df9f3f8038

Contents?: true

Size: 505 Bytes

Versions: 3

Compression:

Stored size: 505 Bytes

Contents

require 'spec_helper'
module Exlibris
  module Aleph
    describe PickupLocation do
      let(:code) { 'PICK' }
      let(:display) { 'Pickup Location' }
      subject(:pickup_location) { PickupLocation.new(code, display) }
      it { should be_a PickupLocation }
      describe '#code' do
        subject { pickup_location.code }
        it { should eq code }
      end
      describe '#display' do
        subject { pickup_location.display }
        it { should eq display }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
exlibris-aleph-2.0.4 spec/exlibris/aleph/pickup_location_spec.rb
exlibris-aleph-2.0.3 spec/exlibris/aleph/pickup_location_spec.rb
exlibris-aleph-2.0.0 spec/exlibris/aleph/pickup_location_spec.rb