From e3e2d66ae43f573eb79bdb821dfa8683a04802ce Mon Sep 17 00:00:00 2001 From: Wojciech Zawistowski <wojciech.zawistowski@gmail.com> Date: Fri, 8 Nov 2013 17:28:57 +0100 Subject: [PATCH] FIX: adds fixture test helper to JSHint config --- config/jshint.yml | 1 + test/javascripts/jshint_all.js.erb | 1 + 2 files changed, 2 insertions(+) diff --git a/config/jshint.yml b/config/jshint.yml index e424b255e..2b9bda7ac 100644 --- a/config/jshint.yml +++ b/config/jshint.yml @@ -86,6 +86,7 @@ predef: - count - exists - asyncTestDiscourse + - fixture - find - sinon - controllerFor diff --git a/test/javascripts/jshint_all.js.erb b/test/javascripts/jshint_all.js.erb index b7a55e78a..153a71649 100644 --- a/test/javascripts/jshint_all.js.erb +++ b/test/javascripts/jshint_all.js.erb @@ -114,6 +114,7 @@ var jsHintOpts = { "count", "exists", "asyncTestDiscourse", + "fixture", "find", "sinon", "moment",