Skip to content

Commit

Permalink
Set RAILS_ENV in websocket server spec
Browse files Browse the repository at this point in the history
  • Loading branch information
rlue committed May 9, 2018
1 parent 7faed50 commit f5880d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/scripts/websocket_server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

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
Expand Down

0 comments on commit f5880d5

Please sign in to comment.