describe "show action" do
before(:each) do
User.stub!(:find).with(@user.id).and_return(@user)
end
def do_get
get :show, :id => @user.id
end
it "should be successful" do
do_get
response.should be_success
end
end