On Fri, Apr 23, 2010 at 10:37 AM, Steve <vertebr...@gmail.com> wrote: > I have some specs that use controller_name because of namespaced > temporary controllers in my specs. In rspec-rails2 I'm told that > controller_name is not a valid method. Is there a workaround for this?
Try: describe "blah de blah" do subject { MyTempController } end No guarantees, but probably the right direction. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users