Created
February 12, 2013 19:47
-
-
Save dmichael/4772785 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
| # Mocha.js test runner support | |
| # https://github.com/jfirebaugh/konacha | |
| Konacha.configure do |config| | |
| config.spec_dir = "spec/javascripts/mocha" | |
| config.spec_matcher = /_spec\.|_test\./ | |
| # driver names a Capybara driver used for the run task (try :poltergeist, after installing PhantomJS). | |
| # Without this directive, konacha will try to run this in Firefox | |
| require 'capybara/poltergeist' | |
| config.driver = :poltergeist | |
| # config.stylesheets = %w(application) | |
| end if defined?(Konacha) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment