Re: [rspec-users] RSpec 2/Rails 3 - content_for in view specs

2012-06-08 Thread jared
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: > >

Re: [rspec-users] rake spec loads development environment

2011-03-21 Thread Jared M.
This thread has been dead for awhile, but I'm having the same issue. I don't have a bash variable set. I'm also having this issue with Cucumber. It always runs in development mode. If I put "p Rails.env" in spec_helper.rb:8 (after spec_helper already declares ENV["RAILS_ENV"] ||= "test") and

[rspec-users] spec'ing theme views

2009-04-06 Thread jared
I'm using the theme support plugin on one of my apps, and I would like to spec the views for each of my themes, but having a little trouble and hoping someone can point me in the right direction. Themed views are located at /themes/my_theme/views that override the views in app/views when that them