Skip to content

Commit

Permalink
Add test to prevent regression of path of load command
Browse files Browse the repository at this point in the history
  • Loading branch information
KitaitiMakoto committed Feb 6, 2016
1 parent 1511e5a commit 882dfcc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/test-client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,14 @@ def setup_authentication
@password = nil
end

class TestLoadPath < self
def test_path
stub_response("[]")
client.load(:table => "Memos", :values => [])
assert_equal("/d/load?table=Memos", @request_path)
end
end

class TestBasicAuthentication < self
def setup_authentication
@user = "Aladdin"
Expand Down

0 comments on commit 882dfcc

Please sign in to comment.