Sha256: f536f55fd6a96196b7aeac6f81601959a8b92459bdf0a55ccdf207734ad44f59

Contents?: true

Size: 358 Bytes

Versions: 4

Compression:

Stored size: 358 Bytes

Contents

require 'spec_helper'

describe LayoutOptions::Storage do
  describe '[]=' do
    it 'storages the values' do
      LayoutOptions::Storage[:key] = :value
    end
  end

  describe '[]' do
    before(:each) { LayoutOptions::Storage[:key] = :value }
    it 'it returns the value stored' do
      LayoutOptions::Storage[:key].should == :value
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
layout_options-0.2.2 spec/layout_options_storage_spec.rb
layout_options-0.2.1 spec/layout_options_storage_spec.rb
layout_options-0.2 spec/layout_options_storage_spec.rb
layout_options-0.1 spec/layout_options_storage_spec.rb