[rspec-users] Controller Testing + Devise = boom (undefined @controller, request)

Peter Ehrlich lists at ruby-forum.com
Sun Feb 6 12:17:58 EST 2011

My apologies!  Yes, the describe is there.  Here's the whole file, with 
some other commented code (tests, before block) removed:

require 'spec_helper'

describe 'VideosController' do

  describe 'new' do

    it "should respond with success" do
      puts 'hi'
#      get :new
#      response.should be_success



Really without understanding of what is going on under the hood.. :-/

Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list