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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -