[rspec-users] RSpec Story - SystemStackError: stack level too deep

Ben Men lists at ruby-forum.com
Tue Jun 10 13:18:12 EDT 2008

Willem van den Ende wrote:
> Hi Ben,
> This is probably not an rspec issue, but a rails defect
> ( http://dev.rubyonrails.org/ticket/10896 ).
>>From your code, I am assuming you are story testing a Rails app. I was
> bitten by this too recently... Took me a while to figure it out. The
> workaround is to replace
> post.id
> by
> post[:id]

Thank you so much Willem, I only just saw your post and it did indeed 
fix my issue.
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list