Hi Surya RSpec is not passing arguments anywhere, we take our arguments from ARGV and then parse them internally.
I’ve looked into this for you, and what has changed in the versions you describe is that rspec switched from mutating ARGV directly to duplicating it first thus meaning it remains readable for other gems. We don’t support older versions of RSpec (in any case we don’t consider this a bug (in fact its the correct behaviour to not modify ARGV)) so I suggest you either upgrade dante to a version thats compatible with this behaviour, or don’t use arguments. Cheers Jon Rowe --------------------------- [email protected] jonrowe.co.uk On 26 August 2019 at 18:59, Surya wrote: > Thanks, Jon for the heads-up on spring. > > Dante is used in stripe mock server gem. I have specs which uses it to test > payments related code. The command works if I comment out those specs but > that isn't the solution. > > The problem is that I don't see this exception on 2.12, it only occurs on > 2.14/2.99. > > I'm unsure why the rspec runner doesn't pass those arguments in 2.12 but on > later versions (2.14/ 2.99). > > Sent from phone, please ignore brevity. -- 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/dejalu-217-b4a4c2db-63cc-434a-8db7-b1dd2c0b8807%40jonrowe.co.uk.
