Re: [rspec-users] Spec::Mocks::MockExpectationError

2010-11-25 Thread David Chelimsky
On Thu, Nov 25, 2010 at 12:10 AM, Arun Sharma wrote: > thanks for reply > > my other methods in spec file it is working > properly(index,edit,update...) > > but here it creates a probelm.bascially except CRUD opertion it is not > working. > >  get :automatic_partitions,{:harddrive_id=>'sda',:serve

Re: [rspec-users] Spec::Mocks::MockExpectationError

2010-11-24 Thread Arun Sharma
thanks for reply my other methods in spec file it is working properly(index,edit,update...) but here it creates a probelm.bascially except CRUD opertion it is not working. get :automatic_partitions,{:harddrive_id=>'sda',:server_id=>1938} assigns[:prev_values].should=='' i simply want

Re: [rspec-users] Spec::Mocks::MockExpectationError

2010-11-24 Thread David Chelimsky
On Nov 24, 2010, at 1:07 AM, Arun Sharma wrote: > hii > > I am initial level of rspec. I am getting a error nil class. > > My Controller code is as follows > > class UsersController < ApplicationController > before_filter :have_hard_drive? > # # filter check for authorized user to access cur