Closed mbajur closed 4 days ago
If you run rspec
with --backtrace
, will there be anything pointing at an infinite loop? Can you share?
Sure, there you go: https://gist.github.com/mbajur/2835f7b8adf5b933adb4e35eec70024c
Ok, it turned out it was happening because i had no root_to route defined, rails was serving a default root template and it somehow messed up the get
. Using a real route fixed that for me.
Subject of the issue
I just installed rspec in the rails engine gem i maintain. All i did was adding rspec-rails as a dependency and run
rails g rspec:install
. I created the simplest request spec possible:However, running it raises :
I'm sorry if that was solved anywhere but the error produced and keywors are so generic it's very hard to find anything even remotely similar to my issue.
Your environment
Steps to reproduce
Clone this app and run
bundle exec rspec