From df8c987a5f39faf5c30b0cbd496fa657d645980e Mon Sep 17 00:00:00 2001 From: John Bintz Date: Wed, 21 Mar 2012 12:38:25 -0400 Subject: [PATCH] fix for stupid bug and add test to make sure it does not happen again --- Gemfile | 1 - lib/assets/javascripts/attentive/presentation.js.coffee | 6 ------ spec/javascripts/attentive/presentation_spec.js.coffee | 6 ++++++ 3 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 spec/javascripts/attentive/presentation_spec.js.coffee diff --git a/Gemfile b/Gemfile index 1e50a97..441416a 100644 --- a/Gemfile +++ b/Gemfile @@ -4,5 +4,4 @@ source 'https://rubygems.org' gemspec gem 'flowerbox', :path => '../flowerbox' -gem 'flowerbox-delivery', :path => '../flowerbox-delivery' gem 'guard' diff --git a/lib/assets/javascripts/attentive/presentation.js.coffee b/lib/assets/javascripts/attentive/presentation.js.coffee index ffd625a..3ce1896 100644 --- a/lib/assets/javascripts/attentive/presentation.js.coffee +++ b/lib/assets/javascripts/attentive/presentation.js.coffee @@ -1,10 +1,4 @@ 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/attentive/presentation_spec.js.coffee b/spec/javascripts/attentive/presentation_spec.js.coffee new file mode 100644 index 0000000..e3a339d --- /dev/null +++ b/spec/javascripts/attentive/presentation_spec.js.coffee @@ -0,0 +1,6 @@ +#= require attentive/presentation + +describe 'Attentive.Presentation', -> + it 'should be ok', -> + Attentive.Presenation +