Skip to content

Instantly share code, notes, and snippets.

@danmayer
Created April 7, 2010 21:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danmayer/359463 to your computer and use it in GitHub Desktop.
Save danmayer/359463 to your computer and use it in GitHub Desktop.
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