diff --git a/spec/scripts/websocket_server_spec.rb b/spec/scripts/websocket_server_spec.rb index 324ef8a43..ec7d5e682 100644 --- a/spec/scripts/websocket_server_spec.rb +++ b/spec/scripts/websocket_server_spec.rb @@ -25,7 +25,7 @@ describe 'websocket-server' do it 'starts up successfully' do 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 Timeout.timeout(20, Timeout::Error, 'WebSocket Server startup timed out') do