Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
language: ruby
sudo: false
cache: bundler
rvm:
- 2.3.7
- 2.4.4
- 2.5.1
- jruby-9.2.0.0
- 2.3.8
- 2.4.6
- 2.5.5
- 2.6.3
- jruby-9.2.8.0
matrix:
allow_failures:
- rvm: jruby-9.2.0.0
- rvm: jruby-9.2.8.0
notifications:
email: false
deploy:
Expand All @@ -19,4 +19,4 @@ deploy:
on:
tags: true
repo: roidrage/redis-session-store
rvm: 2.3.1
rvm: 2.3.8
4 changes: 2 additions & 2 deletions spec/redis_session_store_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -519,15 +519,15 @@ def self.dump(_value)
end

context 'when callable' do
let(:options) { { :"#{h}" => ->(*) { true } } }
let(:options) { { "#{h}": ->(*) { true } } }

it 'does not explode at init' do
expect { store }.to_not raise_error
end
end

context 'when not callable' do
let(:options) { { :"#{h}" => 'herpderp' } }
let(:options) { { "#{h}": 'herpderp' } }

it 'explodes at init' do
expect { store }.to raise_error(ArgumentError)
Expand Down