Ayan, Can you please check my yesterday's answer on stackoverflow?
On Tue, Aug 3, 2021 at 9:24 AM Ayan Biswas <ayanbiswas...@gmail.com> 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 rspec+unsubscr...@googlegroups.com. > 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 rspec+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/CAAk5Ok-%3D%2BKNU6OaCX6x2BNCtjScP58aNVCuLwT4XsqA1hvK_Ow%40mail.gmail.com.