Sha256: a924b1689ad3c5c010d71c368c9cabc744dd5a36ed4ce29f1eb86dffc028f8c5

Contents?: true

Size: 414 Bytes

Versions: 2

Compression:

Stored size: 414 Bytes

Contents

require 'spec_helper'

describe BrainstemAdaptor::Specification do
  describe '.[]' do
    before do
      described_class[:test] = {stored: true}
      described_class[:another_test] = {something_else: false}
    end

    it 'stores multiple specifications' do
      expect(described_class[:test]).to eq({stored: true})
      expect(described_class[:another_test]).to eq({something_else: false})
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
brainstem-adaptor-0.0.4 spec/lib/brainstem_adaptor/specification_spec.rb
brainstem-adaptor-0.0.3 spec/lib/brainstem_adaptor/specification_spec.rb