templates/test/support/webmocks/app_webmock.rb.tt in hephaestus-0.8.15 vs templates/test/support/webmocks/app_webmock.rb.tt in hephaestus-0.8.15.1

- old
+ new

@@ -14,10 +14,10 @@ # assert_requested(:post, "https://github.com/login/oauth/access_token?#{token_query_params(state)}") # end # sig { params(state: String, valid: T::Boolean, status: Integer).returns(T.untyped) } # def stub_request_user_access_token(state, valid: true, status: 200) - # response_body = JSON.parse(file_fixture_path("gh_access_token", valid ? "valid.json" : "invalid.json").read).deep_symbolize_keys + # response_body = JSON.parse(file_fixture_path("access_token", valid ? "valid.json" : "invalid.json").read).deep_symbolize_keys # stub_request(:post, "https://github.com/login/oauth/access_token?#{token_query_params(state)}") # .to_return( # status: status, # headers: { content_type: "application/json; charset=utf-8" }, # body: response_body.to_json,