Created
March 23, 2012 15:21
-
-
Save joliss/2171715 to your computer and use it in GitHub Desktop.
This file contains 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
diff --git a/app/helpers/konacha/specs_helper.rb b/app/helpers/konacha/specs_helper.rb | |
index 9a9ea72..e6d937f 100644 | |
--- a/app/helpers/konacha/specs_helper.rb | |
+++ b/app/helpers/konacha/specs_helper.rb | |
@@ -5,7 +5,10 @@ module Konacha | |
asset_paths.asset_for(spec.asset_name, "js").to_a | |
end.flatten.uniq.map(&:logical_path) | |
- javascript_include_tag *assets, :body => true | |
+ p assets | |
+ s = javascript_include_tag *assets, :body => true | |
+ puts s | |
+ s | |
end | |
end | |
end | |
diff --git a/spec/dummy/spec/javascripts/array_sum_cs_spec.js.coffee b/spec/dummy/spec/javascripts/array_sum_cs_spec.js.coffee | |
index 4ac3e42..a458871 100644 | |
--- a/spec/dummy/spec/javascripts/array_sum_cs_spec.js.coffee | |
+++ b/spec/dummy/spec/javascripts/array_sum_cs_spec.js.coffee | |
@@ -1,3 +1,4 @@ | |
+#= require spec_helper | |
#= require array_sum | |
describe "Array#sum (cs)", -> | |
diff --git a/spec/dummy/spec/javascripts/array_sum_js_spec.js b/spec/dummy/spec/javascripts/array_sum_js_spec.js | |
index f4be375..ac91a5a 100644 | |
--- a/spec/dummy/spec/javascripts/array_sum_js_spec.js | |
+++ b/spec/dummy/spec/javascripts/array_sum_js_spec.js | |
@@ -1,3 +1,4 @@ | |
+//= require spec_helper | |
//= require array_sum | |
describe("Array#sum (js)", function(){ | |
diff --git a/spec/dummy/spec/javascripts/assert_spec.js.coffee b/spec/dummy/spec/javascripts/assert_spec.js.coffee | |
index e61a2c2..12a49ac 100644 | |
--- a/spec/dummy/spec/javascripts/assert_spec.js.coffee | |
+++ b/spec/dummy/spec/javascripts/assert_spec.js.coffee | |
@@ -1,3 +1,5 @@ | |
+#= require spec_helper | |
+ | |
describe "assert styles", -> | |
it "supports expect style", -> | |
expect(2 + 2).to.equal(4) | |
diff --git a/spec/dummy/spec/javascripts/failing_spec.js b/spec/dummy/spec/javascripts/failing_spec.js | |
index feb28d3..517435b 100644 | |
--- a/spec/dummy/spec/javascripts/failing_spec.js | |
+++ b/spec/dummy/spec/javascripts/failing_spec.js | |
@@ -1,3 +1,5 @@ | |
+//= require spec_helper | |
+ | |
describe("failure", function(){ | |
it("fails", function(){ | |
(2 + 2).should.equal(5); | |
diff --git a/spec/dummy/spec/javascripts/test_element_spec.js.coffee b/spec/dummy/spec/javascripts/test_element_spec.js.coffee | |
index 9d980b7..437daeb 100644 | |
--- a/spec/dummy/spec/javascripts/test_element_spec.js.coffee | |
+++ b/spec/dummy/spec/javascripts/test_element_spec.js.coffee | |
@@ -1,3 +1,5 @@ | |
+#= require spec_helper | |
+ | |
describe "the #test element", -> | |
it "can have content added in one test...", -> | |
$('#test').append('<h1 id="added">New Stuff</h1>') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment