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/. _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
