ruby - no implicit conversion of Symbol into String? in rails application in rspec testcase -
#typhoeus running request typhoeus::request.new("#{base_uri}", method: :post, body: lead, headers: { accept: "application/json" }, verbose: true, ssl_verifypeer: false).run
the typhoeus throwing the above error when m running testcase request when remove headers line http request calling
typhoeus::request.new("#{base_uri}", { method: :post, body: lead, headers: { accept: "application/json" }, verbose: true, ssl_verifypeer: false }).run
Comments
Post a Comment