Sha256: 52e0e9259fc85715e04a6c7703da23d1f9dc4b68f3379ee309e8ced7de748832

Contents?: true

Size: 335 Bytes

Versions: 10

Compression:

Stored size: 335 Bytes

Contents

require "google/auth/stores/in_memory_token_store"

describe Google::Auth::Stores::InMemoryTokenStore do
  KEY = "key".freeze
  VALUE = "value".freeze

  subject { described_class.new }

  describe "#load" do
    it "returns an item's value" do
      subject[KEY] = VALUE
      expect(subject.load(KEY)).to eq(VALUE)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
imap-backup-4.0.0.rc1 spec/unit/google/auth/stores/in_memory_token_store_spec.rb
imap-backup-3.4.1 spec/unit/google/auth/stores/in_memory_token_store_spec.rb
imap-backup-3.4.0 spec/unit/google/auth/stores/in_memory_token_store_spec.rb
imap-backup-3.3.1 spec/unit/google/auth/stores/in_memory_token_store_spec.rb
imap-backup-3.3.0 spec/unit/google/auth/stores/in_memory_token_store_spec.rb
imap-backup-3.2.1 spec/unit/google/auth/stores/in_memory_token_store_spec.rb
imap-backup-3.2.0 spec/unit/google/auth/stores/in_memory_token_store_spec.rb
imap-backup-3.1.0 spec/unit/google/auth/stores/in_memory_token_store_spec.rb
imap-backup-3.0.0 spec/unit/google/auth/stores/in_memory_token_store_spec.rb
imap-backup-3.0.0.rc1 spec/unit/google/auth/stores/in_memory_token_store_spec.rb