Sha256: 48a7598580d62ed6ec01fdda8d536b1432cb3be705e67302b245ad9c1ed61db9
Contents?: true
Size: 485 Bytes
Versions: 1
Compression:
Stored size: 485 Bytes
Contents
# frozen_string_literal: true RSpec.describe RSpeed::Redis, '.clean' do it 'destroys all keys that keeps the pipe finished info' do described_class.set('rspeed_pipe_1', true) described_class.set('rspeed_pipe_2', true) described_class.clean expect(described_class.keys('*')).to eq([]) end it 'destroys the pipe profiles' do described_class.set('rspeed_profile_1', true) described_class.clean expect(described_class.keys('*')).to eq([]) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspeed-0.5.2 | spec/models/rspeed/redis/clean_spec.rb |