On Fri, Jun 8, 2012 at 4:03 PM, Michael Madrid wrote:
> 'm using rspec 2.10 with Rails 3.2.1 and have problems with classes not
> being found.
>
> I have put a class called DbTasks under a dir app/util. Under spec, i've
> created file util/db_tasks_spec.rb which runs afer i included the line:
>
>
This worked in Rails 3.1 but view.instance_variable_get(:@_content_for) is
nil in Rails 3.2
Anybody have a solution for this in Rails 3.2?
Thanks!
Jared
On Saturday, August 28, 2010 4:12:53 PM UTC-7, Michael Schuerig wrote:
>
> On Thursday 19 August 2010, Dylan Markow wrote:
> > Is there a way
'm using rspec 2.10 with Rails 3.2.1 and have problems with classes not
being found.
I have put a class called DbTasks under a dir app/util. Under spec, i've
created file util/db_tasks_spec.rb which runs afer i included the line:
require File.join(File.dirname(FILE), '../../app/util/db_tasks')
H