Sha256: a02a4b4c4decd5b59a870316c39b21ed4ebd74f116e777ab5b5594bf4de040f9
Contents?: true
Size: 849 Bytes
Versions: 3
Compression:
Stored size: 849 Bytes
Contents
require 'spec_helper' module Exlibris module Aleph module Table module Reader module Row describe PatronStatuses do let(:data) { ['Palmer Faculty ', '03'] } subject(:patron_statuses) { PatronStatuses.new(data) } it { should be_a Base } it { should be_a PatronStatuses } describe '#data' do subject { patron_statuses.data } it { should eq data } end describe '#code' do subject { patron_statuses.code } it { should eq '03' } end describe '#display' do subject { patron_statuses.display } it { should eq 'Palmer Faculty' } end end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems