Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
namespace :test do
namespace :selenium do
desc "selenium against staging server"
task :staging do
exec "bash -c 'SELENIUM_BROWSERS=all SELENIUM_RC_URL=saucelabs.com SELENIUM_URL=http://caliper-staging.heroku.com/ ruby test/acceptance/walkthrough.rb'"
end
desc "selenium against local server"
task :local do
exec "bash -c 'SELENIUM_BROWSERS=one SELENIUM_RC_URL=localhost SELENIUM_URL=http://localhost:3000/ ruby test/acceptance/walkthrough.rb'"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment