summaryrefslogtreecommitdiff
path: root/test/linter/test_embertemplatelint.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/linter/test_embertemplatelint.vader')
-rw-r--r--test/linter/test_embertemplatelint.vader17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/linter/test_embertemplatelint.vader b/test/linter/test_embertemplatelint.vader
new file mode 100644
index 00000000..97687d29
--- /dev/null
+++ b/test/linter/test_embertemplatelint.vader
@@ -0,0 +1,17 @@
+Before:
+ call ale#assert#SetUpLinterTest('handlebars', 'embertemplatelint')
+
+ GivenCommandOutput ['1.6.0']
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(ember-template-lint executables runs the right command):
+ AssertLinter 'ember-template-lint',
+ \ ale#Escape('ember-template-lint') . ' --json --filename %s'
+
+Execute(old ember-template-lint executables runs the right command):
+ GivenCommandOutput []
+
+ AssertLinter 'ember-template-lint',
+ \ ale#Escape('ember-template-lint') . ' --json %t'