Skip to content

Commit f6dc423

Browse files
committed
Fix ruby tests
1 parent 530c44f commit f6dc423

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

templates/ruby/lib/container/client.rb.twig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,6 @@ module {{ spec.title | caseUcfirst }}
218218
end
219219
end
220220

221-
puts @http.inspect
222-
puts "Request: #{method} #{uri.request_uri} #{headers} #{payload}"
223-
224221
begin
225222
response = @http.send_request(method, uri.request_uri, payload, headers)
226223
rescue => error

tests/languages/ruby/tests.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
require_relative '../../sdks/ruby/lib/appwrite'
22

33
include Appwrite
4+
include Appwrite::Enums
45

56
client = Client.new()
67
.add_header('Origin', 'http://localhost')
7-
.set_self_signed()
88

99
foo = Foo.new(client)
1010
bar = Bar.new(client)
@@ -82,7 +82,7 @@
8282
puts e
8383
end
8484

85-
response = general.enum(mockType: MockType::FIRST)
85+
response = general.enum(mock_type: MockType::FIRST)
8686
puts response.result
8787

8888
begin

0 commit comments

Comments
 (0)