Sha256: 17c6624a311238e6b6aa88bc0f6951705e3b2a9dee7f39cbfdb2edb4bafc493f

Contents?: true

Size: 213 Bytes

Versions: 3

Compression:

Stored size: 213 Bytes

Contents

# frozen_string_literal: true

RSpec.describe RSpeed::Redis, '.set' do
  it 'sets a key on redis' do
    described_class.set('key', 'value')

    expect(described_class.client.get('key')).to eq('value')
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rspeed-0.5.2 spec/models/rspeed/redis/set_spec.rb
rspeed-0.5.1 spec/models/rspeed/redis/set_spec.rb
rspeed-0.5.0 spec/models/rspeed/redis/set_spec.rb