Sha256: 7079137710c00ecd6796f6015c3dc4004712467f0d85150aaed961fefff19793

Contents?: true

Size: 221 Bytes

Versions: 7

Compression:

Stored size: 221 Bytes

Contents

# frozen_string_literal: true

describe PUNK do
  describe '.store' do
    it 'acts like a dotted hash' do
      described_class.store["foo"] = "bar"
      expect(described_class.store.foo).to eq("bar")
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
punk-0.3.6 spec/lib/engine/punk_store_spec.rb
punk-0.3.5 spec/lib/engine/punk_store_spec.rb
punk-0.3.4 spec/lib/engine/punk_store_spec.rb
punk-0.3.3 spec/lib/engine/punk_store_spec.rb
punk-0.3.2 spec/lib/engine/punk_store_spec.rb
punk-0.3.1 spec/lib/engine/punk_store_spec.rb
punk-0.2.0 spec/lib/engine/punk_store_spec.rb