summaryrefslogtreecommitdiff
path: root/test/fixers/test_standardrb_fixer_callback.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixers/test_standardrb_fixer_callback.vader')
-rw-r--r--test/fixers/test_standardrb_fixer_callback.vader10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/fixers/test_standardrb_fixer_callback.vader b/test/fixers/test_standardrb_fixer_callback.vader
index d315651f..31684c29 100644
--- a/test/fixers/test_standardrb_fixer_callback.vader
+++ b/test/fixers/test_standardrb_fixer_callback.vader
@@ -17,7 +17,7 @@ After:
call ale#test#RestoreDirectory()
Execute(The standardrb callback should return the correct default values):
- call ale#test#SetFilename('ruby_paths/dummy.rb')
+ call ale#test#SetFilename('../test-files/ruby/dummy.rb')
AssertEqual
\ {
@@ -28,26 +28,26 @@ Execute(The standardrb callback should return the correct default values):
\ ale#fixers#standardrb#Fix(bufnr(''))
Execute(The standardrb callback should include configuration files):
- call ale#test#SetFilename('ruby_paths/with_config/dummy.rb')
+ call ale#test#SetFilename('../test-files/ruby/with_config/dummy.rb')
AssertEqual
\ {
\ 'process_with': 'ale#fixers#rubocop#PostProcess',
\ 'command': ale#Escape(g:ale_ruby_standardrb_executable)
- \ . ' --config ' . ale#Escape(ale#path#Simplify(g:dir . '/ruby_paths/with_config/.standard.yml'))
+ \ . ' --config ' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/ruby/with_config/.standard.yml'))
\ . ' --fix --force-exclusion --stdin %s',
\ },
\ ale#fixers#standardrb#Fix(bufnr(''))
Execute(The standardrb callback should include custom rubocop options):
let g:ale_ruby_standardrb_options = '--except Lint/Debugger'
- call ale#test#SetFilename('ruby_paths/with_config/dummy.rb')
+ call ale#test#SetFilename('../test-files/ruby/with_config/dummy.rb')
AssertEqual
\ {
\ 'process_with': 'ale#fixers#rubocop#PostProcess',
\ 'command': ale#Escape(g:ale_ruby_standardrb_executable)
- \ . ' --config ' . ale#Escape(ale#path#Simplify(g:dir . '/ruby_paths/with_config/.standard.yml'))
+ \ . ' --config ' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/ruby/with_config/.standard.yml'))
\ . ' --except Lint/Debugger'
\ . ' --fix --force-exclusion --stdin %s',
\ },