Commit 764f1d8d authored by Rajko Albrecht's avatar Rajko Albrecht

fixed test for CI

parent 67726f0a
Pipeline #11 passed with stage
in 24 seconds
......@@ -2,7 +2,9 @@ require 'test_helper'
describe Redis::StoreWithCas do
def setup
@store = Redis::Store.new :namespace => 'storetest'
port = ENV['REDIS_PORT_6379_TCP_PORT']||6379
host = ENV['REDIS_PORT_6379_TCP_ADDR']||"localhost"
@store = Redis::Store.new :host => host, :port => port, :namespace => 'storetest'
end
def teardown
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment