features/step_definitions/serve_steps.rb in reveal-ck-3.4.0 vs features/step_definitions/serve_steps.rb in reveal-ck-3.5.0

- old
+ new

@@ -1,4 +1,5 @@ -When(/^I temporarily start reveal\-ck serve$/) do +When(/^I temporarily start reveal\-ck serve with host "(.*?)"$/) do |host| port = 10_000 + rand(1000) - run("reveal-ck serve --port #{port} --test-quit-after-starting 2") + cmd = "reveal-ck serve --port #{port} --host #{host}" + run("#{cmd} --test-quit-after-starting 2") end