summaryrefslogtreecommitdiff
path: root/test/linter/test_ruby.vader
blob: b6bac14f3e73537c1ba43931d2f7ddeb486c87d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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'