diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/syntax_suggest/spec_helper.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/syntax_suggest/spec_helper.rb b/spec/syntax_suggest/spec_helper.rb index e78dee76bc..67d401888b 100644 --- a/spec/syntax_suggest/spec_helper.rb +++ b/spec/syntax_suggest/spec_helper.rb @@ -32,7 +32,11 @@ def spec_dir end def lib_dir - root_dir.join("lib") + if ruby_core? + root_dir.join("../lib") + else + root_dir.join("lib") + end end def root_dir |