summaryrefslogtreecommitdiff
path: root/test/linter/test_ruby.vader
blob: d957079d5a773afef9ea5671fa2546dc22185230 (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 %t'

Execute(The executable should be configurable):
  let g:ale_ruby_ruby_executable = 'foobar'

  AssertLinter 'foobar', ale#Escape('foobar') . ' -w -c %t'