I am a new comer of testing on rails .
I am trying to testing my controller, and read a lot of testing using rspec and shoulda.
can anyone give me some examples about those rspec.
cuz sometime i did not understand how to use rspec for the controller.
@user = User.new(params[:user])
@user.is_admin = false
@user.enabled = false
redirect_to :action => “confirm”
@cultures = Culture.where(:enabled => true)
@languages = Language.where(:enabled => true)
redirect_to :action => “edit”
if my controller like that… how can i test by using rspec… please help