Created
July 27, 2012 04:17
-
-
Save Pistos/3186153 to your computer and use it in GitHub Desktop.
This file contains hidden or 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_relative '../app' | |
require_relative 'factories' | |
require 'capybara/rspec' | |
Capybara.configure do |config| | |
# config.default_driver = :rack_test | |
config.default_driver = :selenium | |
config.app = Ramaze.middleware | |
end | |
# For in-browser testing: | |
::Capybara.default_driver = :selenium | |
# ::Capybara.current_driver = ::Capybara.javascript_driver | |
::Capybara.current_driver = :selenium | |
Ramaze.setup_dependencies | |
Ramaze.options.roots << File.expand_path(File.dirname(__FILE__)) | |
# Ramaze.options.mode = :dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment