summaryrefslogtreecommitdiff
path: root/test/command_callback/test_rubocop_command_callback.vader
diff options
context:
space:
mode:
authorRyan Rosenblum <ryan.rosenblum@gmail.com>2018-08-24 11:33:59 -0400
committerRyan Rosenblum <ryan.rosenblum@gmail.com>2018-09-12 16:53:28 -0400
commit9e09b7ca3559e2c14ed2401bb666b441b22dafff (patch)
tree2ef0434865ce0c88bd02489cc756742c63a5c3dd /test/command_callback/test_rubocop_command_callback.vader
parent78af99c2566ef8fed443ce253e0de9323b9e5043 (diff)
downloadale-9e09b7ca3559e2c14ed2401bb666b441b22dafff.zip
Update all Ruby linters to work consistently with bundler
Diffstat (limited to 'test/command_callback/test_rubocop_command_callback.vader')
-rw-r--r--test/command_callback/test_rubocop_command_callback.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/command_callback/test_rubocop_command_callback.vader b/test/command_callback/test_rubocop_command_callback.vader
index 7f42a8c0..b6f4590e 100644
--- a/test/command_callback/test_rubocop_command_callback.vader
+++ b/test/command_callback/test_rubocop_command_callback.vader
@@ -21,9 +21,9 @@ Execute(Should be able to set a custom executable):
\ . ale#Escape(ale#path#Simplify(g:dir . '/dummy.rb'))
Execute(Setting bundle appends 'exec rubocop'):
- let g:ale_ruby_rubocop_executable = 'path to/bundle'
+ let g:ale_ruby_rubocop_executable = 'bundle'
- AssertLinter 'path to/bundle', ale#Escape('path to/bundle')
+ AssertLinter 'bundle', ale#Escape('bundle')
\ . ' exec rubocop'
\ . ' --format json --force-exclusion --stdin '
\ . ale#Escape(ale#path#Simplify(g:dir . '/dummy.rb'))