Sha256: 7e1e2c4e3940405f9327ad08ecbd1f0cc92b7fb6c4316dc319dbd9ae8179f684
Contents?: true
Size: 431 Bytes
Versions: 2
Compression:
Stored size: 431 Bytes
Contents
require 'spec_helper' describe FakeRedis do after { described_class.disable } describe '.enable' do it 'in memory connection' do described_class.enable expect(described_class.enabled?).to be_truthy end end describe '.disable' do before { described_class.enable } it 'in memory connection' do described_class.disable expect(described_class.enabled?).to be_falsy end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
fakeredis-0.7.0 | spec/fakeredis_spec.rb |
kuende-fakeredis-0.10.0 | spec/fakeredis_spec.rb |