Hi,
Is it best to simulate errors in functional testing by stubbing the
controller save/update_attributes to return false? Will I miss
anything important if I always test controller behavior in the case of
errors in this way?
Thanks,
Lille
Hi,
Is it best to simulate errors in functional testing by stubbing the
controller save/update_attributes to return false? Will I miss
anything important if I always test controller behavior in the case of
errors in this way?
Thanks,
Lille
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs