From 5283cd35e8851102cff02c81d69b1c9e48d5964d Mon Sep 17 00:00:00 2001 From: John Bintz Date: Thu, 15 Mar 2012 22:49:16 -0400 Subject: [PATCH] more flowerbox stuff --- Guardfile | 2 +- lib/assets/javascripts/attentive/presentation.js.coffee | 6 ++++++ spec/javascripts/spec_helper.rb | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Guardfile b/Guardfile index 0ed9c8d..f85f0eb 100644 --- a/Guardfile +++ b/Guardfile @@ -27,7 +27,7 @@ guard 'flowerbox-unit' do watch(%r{^spec/javascripts}) end -guard 'flowerbox-integration' do +guard 'flowerbox-integration', :verbose_server => true do watch(%r{^js-features}) end diff --git a/lib/assets/javascripts/attentive/presentation.js.coffee b/lib/assets/javascripts/attentive/presentation.js.coffee index 3ce1896..ffd625a 100644 --- a/lib/assets/javascripts/attentive/presentation.js.coffee +++ b/lib/assets/javascripts/attentive/presentation.js.coffee @@ -1,4 +1,10 @@ if !Attentive? then Attentive = {} + c.test_with :jasmine + c.run_with :node + + c.asset_paths << "lib/assets/javascripts" + + c.report_with :verbose class Attentive.Presentation @setup: (identifier) -> diff --git a/spec/javascripts/spec_helper.rb b/spec/javascripts/spec_helper.rb index 094259c..284e402 100644 --- a/spec/javascripts/spec_helper.rb +++ b/spec/javascripts/spec_helper.rb @@ -5,5 +5,6 @@ Flowerbox.configure do |c| c.asset_paths << "lib/assets/javascripts" c.report_with :verbose + c.port = 25123 end