Skip to content

Commit

Permalink
test: Fix failure testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
John Doe committed Oct 15, 2023
1 parent 9d1ae86 commit 8b0be83
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 3 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,12 @@ rongcloud = RongCloud::Client.new(
}
)

# Use the secondary parameter to override global HTTP options in
# a specific HTTP request.
# Use the global HTTP timeout options.
rongcloud.api.user.gettoken({
userId: "nutzer", name: "John Doe"
})

# Override global HTTP timeout options in a specific HTTP request.
rongcloud.api.user.gettoken({
userId: "nutzer", name: "John Doe"
}, {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/rongcloud/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def make_request_id
}.to raise_error(RongCloud::Exceptions::HttpError, /execution expired/)
end

it "logging" do
it "logging", :vcr do
strio = StringIO.new
client = described_class.new(
app_key: ENV["RONGCLOUD_APP_KEY"],
Expand Down

0 comments on commit 8b0be83

Please sign in to comment.