Skip to content

Commit f6f1557

Browse files
authored
Removing changes so I can submit a PR
1 parent cbbba2e commit f6f1557

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/chatops/controller/test_case_helpers.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ def chatop(method, params = {})
4242
def chat(message, user, room_id = "123", message_id = "456")
4343
get :list
4444
json_response = JSON.load(response.body)
45-
raise "Invalid Chatop response - BODY: #{json_response}" unless json_response.key?("methods")
4645
matchers = json_response["methods"].map { |name, metadata|
4746
metadata = metadata.dup
4847
metadata["name"] = name
@@ -76,7 +75,6 @@ def chatop_response
7675

7776
def chatop_error
7877
json_response = JSON.load(response.body)
79-
raise "There is no chatop error - BODY: #{json_response}" unless json_response.key?("error")
8078
json_response["error"]["message"]
8179
end
8280

0 commit comments

Comments
 (0)