Yeah I solved the probelm. On Tuesday, August 3, 2021 at 11:56:17 AM UTC+5:30 [email protected] wrote:
> Ayan, > > Can you please check my yesterday's answer on stackoverflow? > > On Tue, Aug 3, 2021 at 9:24 AM Ayan Biswas <[email protected]> wrote: > > > > Problem > > I need to send some data to a path in the encoding format > x-www-form-urlencodedand by using Net::HTTP I am doing that from the spec > file. But as Net::HTTP requires host and port for their operation , what > Can I do ? > > > > Context > > I have described my problem In this stack overflow question please have > a look > https://stackoverflow.com/questions/68616413/how-to-get-host-and-port-configuration-for-test-environment-in-rspec-3-10-rails > > Also I need to implement the test for this , is there any alternative > way to do that ? > > > https://github.com/CircuitVerse/CircuitVerse/blob/lms-lti/app/controllers/lti_controller.rb > > > > -- > > You received this message because you are subscribed to the Google > Groups "rspec" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/rspec/18133026-5cb2-42b1-8485-06740010581en%40googlegroups.com > . > -- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/03786f1e-3307-4756-8a15-834d613b00ebn%40googlegroups.com.
