Sha256: ece8310d5580d443154003cfea123e6b91e3582c8cfc8d9bbd3848cd7de8e2b5

Contents?: true

Size: 381 Bytes

Versions: 1

Compression:

Stored size: 381 Bytes

Contents

require 'spec_helper'

describe TwiAuth::Store do

  before :all do
    @store = TwiAuth::Store.new
  end

  it "should store some data" do
    @store.put("test", "test-value")
  end

  it "should return some data" do
    @store.get("test").should.eql?("test-value")
  end

  it "should delete some data" do
    @store.delete("test")
    @store.get("test").should be_nil
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
twiauth-0.1.0 spec/store_spec.rb