File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 124124 expect ( http ) . to receive ( :use_ssl= ) . with ( true )
125125 expect ( http ) . to receive ( :verify_mode= ) . with ( OpenSSL ::SSL ::VERIFY_PEER )
126126 expect ( http ) . to receive ( :post ) . with ( @service_path , "test" ,
127- "Content-Type" => "application/x-thrift" ) do
127+ { "Content-Type" => "application/x-thrift" } ) do
128128 double ( "Net::HTTPOK" ) . tap do |response |
129129 expect ( response ) . to receive ( :body ) . and_return "data"
130130 expect ( response ) . to receive ( :code ) . and_return "200"
146146 expect ( http ) . to receive ( :use_ssl= ) . with ( true )
147147 expect ( http ) . to receive ( :verify_mode= ) . with ( OpenSSL ::SSL ::VERIFY_NONE )
148148 expect ( http ) . to receive ( :post ) . with ( @service_path , "test" ,
149- "Content-Type" => "application/x-thrift" ) do
149+ { "Content-Type" => "application/x-thrift" } ) do
150150 double ( "Net::HTTPOK" ) . tap do |response |
151151 expect ( response ) . to receive ( :body ) . and_return "data"
152152 expect ( response ) . to receive ( :code ) . and_return "200"
You can’t perform that action at this time.
0 commit comments