Skip to content

Commit afc0456

Browse files
committed
Test redis is actually working
1 parent e7fa68d commit afc0456

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

test/integration/redis_test.rb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
require 'test_helper'
2+
3+
class RedisTest < ActionDispatch::IntegrationTest
4+
test 'checks redis is working' do
5+
redis = Redis.new(url: TeSS::Config.redis_url)
6+
7+
redis.set('test123xyz', 'hello')
8+
9+
assert_equal 'hello', redis.get('test123xyz')
10+
end
11+
end

0 commit comments

Comments
 (0)