Created
June 17, 2011 04:34
-
-
Save jcrossley3/1030880 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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