[rspec-users] undefined method: controller_name

2007-12-12 Thread Alvin Schur
David Chelimsky wrote: > On Dec 12, 2007 9:50 AM, Alvin Schur > wrote: > >/ With rspec 1.0.8 I have a spec in the directory: /> >/ spec/units/controllers/application_controller_spec.rb /> >/ /> >/ require File.dirname(__FILE__) + '/../../spec_hel

Re: [rspec-users] undefined method: controller_name

2007-12-12 Thread Scott Taylor
On Dec 12, 2007, at 10:56 AM, David Chelimsky wrote: > On Dec 12, 2007 9:50 AM, Alvin Schur <[EMAIL PROTECTED]> wrote: >> With rspec 1.0.8 I have a spec in the directory: >> spec/units/controllers/application_controller_spec.rb >> >> require File.dirname(__FILE__) + '/../../spec_helper' >> >> cla

Re: [rspec-users] undefined method: controller_name

2007-12-12 Thread David Chelimsky
On Dec 12, 2007 9:50 AM, Alvin Schur <[EMAIL PROTECTED]> wrote: > With rspec 1.0.8 I have a spec in the directory: > spec/units/controllers/application_controller_spec.rb > > require File.dirname(__FILE__) + '/../../spec_helper' > > class DummyController < ApplicationController > def index >

[rspec-users] undefined method: controller_name

2007-12-12 Thread Alvin Schur
With rspec 1.0.8 I have a spec in the directory: spec/units/controllers/application_controller_spec.rb require File.dirname(__FILE__) + '/../../spec_helper' class DummyController < ApplicationController def index raise "Prevent index from rendering" end end describe ApplicationControlle