Closed jsuwo closed 11 years ago
@jsuwo your solution worked for me too in a new Rails 3.2.8 app, thanks for posting it.
@jsuwo I ran into the problems you outline in Rails 3.29 as well. Thanks for the solutions.
Updated
Thanks @jsuwo that help as well for Rails 3.2.13
In the README, it states to add the following to
spec/spec_helper.rb
:First, the block variable
config
is not defined, so this raises an error. It should be:Second, at least under Rails 3.2.8, I get the error:
The code must be:
This still did not work for me, as I would receive the following error whenever I attempted to use
page.set_rack_session
:I ended up having to add the following line in
config/environments/test.rb
before it would work:Just thought I'd add this for anyone else having the same issue.