Sha256: 0deab60e73fcad9a2bd06c8258a84ff2256d05b270da7bf2e7b158007419ddf9

Contents?: true

Size: 564 Bytes

Versions: 2

Compression:

Stored size: 564 Bytes

Contents

# frozen_string_literal: true

#
# Copyright (c) 2019-present, Blue Marble Payroll, LLC
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
#

require './spec/spec_helper'

# This is mainly to ensure CI has a proper Redis installation and instance.
describe ::Airspace::Store do
  let(:client) { Redis.new }

  describe 'initialization' do
    it 'should raise ArgumentError with a null client' do
      expect { ::Airspace::Store.new(nil) }.to raise_error(ArgumentError)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
airspace-1.0.1 spec/airspace/store_spec.rb
airspace-1.0.0 spec/airspace/store_spec.rb