Navigation Menu

Skip to content

Commit

Permalink
Follow API change
Browse files Browse the repository at this point in the history
:path requires "/d".
  • Loading branch information
kou committed Feb 16, 2018
1 parent 1264e13 commit 37684e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test-client.rb
Expand Up @@ -491,7 +491,7 @@ def component_based_open_options

def test_with_trailing_slash
stub_response("[]")
options = component_based_open_options.merge(:path => "/sub_path/")
options = component_based_open_options.merge(:path => "/sub_path/d/")
Groonga::Client.open(options) do |client|
client.status
end
Expand All @@ -500,7 +500,7 @@ def test_with_trailing_slash

def test_without_trailing_slash
stub_response("[]")
options = component_based_open_options.merge(:path => "/sub_path")
options = component_based_open_options.merge(:path => "/sub_path/d")
Groonga::Client.open(options) do |client|
client.status
end
Expand Down

0 comments on commit 37684e5

Please sign in to comment.