Sha256: db797d74357e8c9f7b66c1a8f5daf3f789d583c293fdaf921ff98f082384b69d

Contents?: true

Size: 224 Bytes

Versions: 5

Compression:

Stored size: 224 Bytes

Contents

describe Econfig::Memory do
  let(:backend) { Econfig::Memory.new }
  describe "#get" do
    it "fetches a previously set option" do
      backend.set("foo", "bar")
      backend.get("foo").should == "bar"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
econfig-1.0.2 spec/memory_spec.rb
econfig-1.0.1 spec/memory_spec.rb
econfig-1.0.0 spec/memory_spec.rb
econfig-0.1.1 spec/memory_spec.rb
econfig-0.1.0 spec/memory_spec.rb