[rspec-users] Can NOT overides the stub! in the setup

2007-09-10 Thread bruce zuo
Hello, I am new to rSpec. I tried to search in the list, but could not find the answer, please forgive me if somebody already answered this. Here is my question: I have a stub in setup: before(:each) do @current_user = mock(devsu) # Generally, prefer stub! over should_receive in

Re: [rspec-users] Can NOT overides the stub! in the setup

2007-09-10 Thread David Chelimsky
On 9/10/07, bruce zuo [EMAIL PROTECTED] wrote: Hello, I am new to rSpec. I tried to search in the list, but could not find the answer, please forgive me if somebody already answered this. Here is my question: I have a stub in setup: before(:each) do @current_user = mock(devsu)