I'm also having problems stubbing current_user. I cannot put controller.stub!(:current_user).and_return(@current_user) in a before(:all) block. The stubbing doesn't happen.
However if I put it in the it "should..." block, then it works. Why is that? -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
