summaryrefslogtreecommitdiff
path: root/test/test_foodcritic_command_callback.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-11-21 13:38:27 +0000
committerw0rp <devw0rp@gmail.com>2017-11-21 13:38:33 +0000
commitac7f69063db30edfad14fac19b9d06be487885b1 (patch)
treea54c60e3c5bd05d10883d0e9a117e36a9f81801e /test/test_foodcritic_command_callback.vader
parentce2986cfa502849e552b126e9df9d090275f98e2 (diff)
downloadale-ac7f69063db30edfad14fac19b9d06be487885b1.zip
#1151 - Overhaul the foodcritic linter for checking files on disk
Diffstat (limited to 'test/test_foodcritic_command_callback.vader')
-rw-r--r--test/test_foodcritic_command_callback.vader18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/test_foodcritic_command_callback.vader b/test/test_foodcritic_command_callback.vader
deleted file mode 100644
index a5b02e49..00000000
--- a/test/test_foodcritic_command_callback.vader
+++ /dev/null
@@ -1,18 +0,0 @@
-Before:
- let g:ale_chef_foodcritic_options = '-t ~F011'
- let g:ale_chef_foodcritic_executable = 'foodcritic'
-
- call ale#test#SetDirectory('/testplugin/test')
- runtime ale_linters/chef/foodcritic.vim
-
-After:
- let g:ale_chef_foodcritic_options = ''
- let g:ale_chef_foodcritic_executable = ''
-
- call ale#test#RestoreDirectory()
- call ale#linter#Reset()
-
-Execute(command line should be assembled correctly):
- AssertEqual
- \ 'foodcritic -t \~F011 %t',
- \ ale_linters#chef#foodcritic#GetCommand(bufnr(''))