Commit 71960a8c authored by marcheing's avatar marcheing Committed by Diego de Araújo Martinez Camarinha

Add konacha configuration

Using capybara poltergeist server and added the rake konacha:run task to
the list of default rake tasks
parent 16a7d9a4
Konacha.configure do |config|
require 'capybara/poltergeist'
config.spec_dir = 'spec/javascripts'
config.spec_matcher = /_spec\.|_test\./
config.stylesheets = %w(application)
config.driver = :poltergeist
end if defined?(Konacha)
namespace :konacha do
task :message do
puts "Running Konacha tests...\n"
task 'konacha:run' => 'konacha:message'
task :default => 'konacha:run'
#= require jquery
#= require sinon
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment