Mind sharing your solution? On Fri, Aug 6, 2021 at 12:01 PM Ayan Biswas <ayanbiswas...@gmail.com> wrote: > > Yeah I solved the probelm. > > On Tuesday, August 3, 2021 at 11:56:17 AM UTC+5:30 pirj...@gmail.com wrote: >> >> Ayan, >> >> Can you please check my yesterday's answer on stackoverflow? >> >> On Tue, Aug 3, 2021 at 9:24 AM Ayan Biswas <ayanbi...@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+un...@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/03786f1e-3307-4756-8a15-834d613b00ebn%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/CAAk5Ok9L8k%3D9bVew7MybWaVVY9D39VmfD%3DakHqqYxWgrBH2n8w%40mail.gmail.com.