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

Arun Sharma lists at ruby-forum.com
Thu Nov 25 01:10:50 EST 2010


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 to ask that is this right way to call a action and pass
the value??

please post the reply as soon as.I am waiting for reply

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


More information about the rspec-users mailing list