nviennot / rspec-console

Run RSpec tests in your rails console
101 stars 20 forks source link

Reset config to pick up command line arguments #16

Closed namick closed 9 years ago

namick commented 10 years ago

I often switch between using just rspec and rspec -fd. This makes that possible.

nviennot commented 10 years ago

That's weird.

The call on ::RSpec.reset removes the @configuration instance:

So how would rspec remember the old cli arguments?

nviennot commented 9 years ago

I've pushed a new version, I couldn't reproduce that bug with that version.