Skip to content

Commit

Permalink
Removing changes so I can submit a PR
Browse files Browse the repository at this point in the history
  • Loading branch information
panthervfs authored Oct 14, 2024
1 parent cbbba2e commit f6f1557
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/chatops/controller/test_case_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def chatop(method, params = {})
def chat(message, user, room_id = "123", message_id = "456")
get :list
json_response = JSON.load(response.body)
raise "Invalid Chatop response - BODY: #{json_response}" unless json_response.key?("methods")
matchers = json_response["methods"].map { |name, metadata|
metadata = metadata.dup
metadata["name"] = name
Expand Down Expand Up @@ -76,7 +75,6 @@ def chatop_response

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

Expand Down

0 comments on commit f6f1557

Please sign in to comment.