Navigation Menu

Skip to content

Commit

Permalink
Use installed plugin to test plugin path
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Apr 2, 2015
1 parent 9e7bc34 commit 4f6dc40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test-plugin.rb
Expand Up @@ -28,10 +28,10 @@ def test_register
end

def test_system_plugins_dir
suggest_plugin_path = "#{Groonga::Plugin.system_plugins_dir}/"
suggest_plugin_path << "suggest/suggest#{Groonga::Plugin.suffix}"
plugin_path = "#{Groonga::Plugin.system_plugins_dir}/"
plugin_path << "token_filters/stop_word#{Groonga::Plugin.suffix}"
assert do
File.exist?(suggest_plugin_path)
File.exist?(plugin_path)
end
end
end

0 comments on commit 4f6dc40

Please sign in to comment.