Sha256: de79bc2963e2cc0c677957a993ad2a5d989d50b390c852c82c8246485fef107a
Contents?: true
Size: 488 Bytes
Versions: 10
Compression:
Stored size: 488 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' RSpec.describe RedisWebManager::Data do let(:data) do RedisWebManager::Data.new(RedisWebManager.redises.keys[0]) end describe 'data' do it 'returns a OK (perform)' do expect(data.perform).to eql('OK') end it 'returns a Array of keys' do expect(data.keys).to be_a_kind_of(Array) end it 'returns a Array of keys deleted' do expect(data.flush).to be_a_kind_of(Array) end end end
Version data entries
10 entries across 10 versions & 1 rubygems