nviennot / rspec-console

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

Require fix #2

Closed ghost closed 11 years ago

ghost commented 11 years ago

Hey, I think I've got it working. Took some playing around, but I noticed that in the console, Gem.loaded_specs['rspec'] is nil in rspec-rails >= 2.12. I just swapped out 'rspec' for 'rspec-core' and it seems to have fixed it. I also tried it with 2.11 and it worked. Let me know how it goes, I'll be playing with it some more and will get in touch if I notice any problems.

nviennot commented 11 years ago

Thank you very much :)

I took the liberty to rewrite your commit message, I hope it's okay :)

ghost commented 11 years ago

Ha, absolutely. I figured you may have some conventions you like to follow, so I thought it be better to leave that for you to implement. ;) On Apr 18, 2013 11:52 PM, "Nicolas Viennot" notifications@github.com wrote:

Thank you very much :)

I took the liberty to rewrite your commit message, I hope it's okay :)

— Reply to this email directly or view it on GitHubhttps://github.com/nviennot/rspec-console/pull/2#issuecomment-16636096 .