examples/cucumber/step_definitions/example_steps.rb in grid-0.4.1 vs examples/cucumber/step_definitions/example_steps.rb in grid-0.4.2

- old
+ new

@@ -4,15 +4,15 @@ require 'watir-webdriver-performance' require 'grid' Given /^(\d+) users open "([^"]*)"$/ do |quantity, browser| params={} - params[:controller_uri] = "druby://ec2-184-73-37-176.compute-1.amazonaws.com:11235" + params[:controller_uri] = "druby://ec2-50-17-154-31.compute-1.amazonaws.com:11235" params[:browser] = browser # type of webdriver browser to spawn params[:quantity] = quantity.to_i # max number of browsers to use params[:rampup] = 10 # seconds @grid = Grid.new(params) - @grid.setup + @grid.setup end Given /^navigate to the portal$/ do @grid.iterate {|browser| browser.goto "http://gridinit.com/examples/logon.html" } end