Skip to content

Instantly share code, notes, and snippets.

@petyosi
Created July 28, 2009 10:02
Show Gist options
  • Save petyosi/157057 to your computer and use it in GitHub Desktop.
Save petyosi/157057 to your computer and use it in GitHub Desktop.
Before do
Webrat.configure do |config|
config.mode = :rails
end
end
Before '@js' do
Webrat.configure do |config|
config.mode = :selenium
config.application_environment = :test
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment