spec/persistence/redis_adapter_spec.rb in split-1.3.0 vs spec/persistence/redis_adapter_spec.rb in split-1.3.1
- old
+ new
@@ -9,11 +9,10 @@
describe '#redis_key' do
before { Split::Persistence::RedisAdapter.reset_config! }
context 'default' do
it 'should raise error with prompt to set lookup_by' do
- expect{Split::Persistence::RedisAdapter.new(context)
- }.to raise_error
+ expect{Split::Persistence::RedisAdapter.new(context)}.to raise_error(RuntimeError)
end
end
context 'config with key' do
before { Split::Persistence::RedisAdapter.reset_config! }