summaryrefslogtreecommitdiff
path: root/test/linter/test_ruby.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/linter/test_ruby.vader')
-rw-r--r--test/linter/test_ruby.vader13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/linter/test_ruby.vader b/test/linter/test_ruby.vader
new file mode 100644
index 00000000..b6bac14f
--- /dev/null
+++ b/test/linter/test_ruby.vader
@@ -0,0 +1,13 @@
+Before:
+ call ale#assert#SetUpLinterTest('ruby', 'ruby')
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(The default command should be correct):
+ AssertLinter 'ruby', ale#Escape('ruby') . ' -w -c -T1 %t'
+
+Execute(The executable should be configurable):
+ let g:ale_ruby_ruby_executable = 'foobar'
+
+ AssertLinter 'foobar', ale#Escape('foobar') . ' -w -c -T1 %t'