Set RAILS_ENV in websocket server spec
This commit is contained in:
parent
7faed507cf
commit
f5880d537b
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ describe 'websocket-server' do
|
||||||
|
|
||||||
it 'starts up successfully' do
|
it 'starts up successfully' do
|
||||||
begin
|
begin
|
||||||
system("#{ws_server} start -db #{ipv6_addr} -p #{port} >/dev/null 2>&1")
|
system("RAILS_ENV=test #{ws_server} start -db #{ipv6_addr} -p #{port}")
|
||||||
|
|
||||||
# Wait for daemon to start
|
# Wait for daemon to start
|
||||||
Timeout.timeout(20, Timeout::Error, 'WebSocket Server startup timed out') do
|
Timeout.timeout(20, Timeout::Error, 'WebSocket Server startup timed out') do
|
||||||
|
|
Loading…
Reference in a new issue