Sha256: f3d936240184cd273ec90bba092c780e385ba546811b43a00b1c440e3aaefc09

Contents?: true

Size: 591 Bytes

Versions: 3

Compression:

Stored size: 591 Bytes

Contents

require 'spec_helper'
module Exlibris
  module Aleph
    module API
      describe Base do
        subject(:base) { Base.new }
        it { should be_a Base }
        describe '#client' do
          subject { base.send(:client) }
          it 'should raise a RuntimeError' do
            expect { subject }.to raise_error RuntimeError
          end
        end
        describe '#reader' do
          subject { base.send(:reader) }
          it 'should raise a RuntimeError' do
            expect { subject }.to raise_error RuntimeError
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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