Skip to content

Instantly share code, notes, and snippets.

@jcrossley3
Created June 17, 2011 04:34
Show Gist options
  • Save jcrossley3/1030880 to your computer and use it in GitHub Desktop.
Save jcrossley3/1030880 to your computer and use it in GitHub Desktop.
require 'torquespec'
TorqueSpec.local {
require 'capybara/dsl'
require 'akephalos'
Capybara.register_driver :akephalos do |app|
Capybara::Driver::Akephalos.new(app, :browser => :firefox_3)
end
Capybara.default_driver = :akephalos
Capybara.app_host = "http://localhost:8080"
Capybara.run_server = false
RSpec.configure do |config|
config.include Capybara
config.after do
Capybara.reset_sessions!
end
end
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment