test: on DELETE to :destroy as xml should destroy record. test: on DELETE to :destroy should destroy record. test: on DELETE to :destroy should have /removed/i in the flash. test: on DELETE to :destroy should redirect to "users_url". test: on GET to :edit should assign @user. test: on GET to :edit should display a form. test: on GET to :edit should not set the flash. test: on GET to :edit should render 'edit' template. test: on GET to :edit should respond with success. test: on GET to :edit should set @user to requested instance. test: on GET to :index as xml should assign @users. test: on GET to :index as xml should have ContentType set to 'application/xml'. test: on GET to :index as xml should respond with success. test: on GET to :index as xml should return as the root element. test: on GET to :index should assign @users. test: on GET to :index should not set the flash. test: on GET to :index should render 'index' template. test: on GET to :index should respond with success. test: on GET to :new should assign @user. test: on GET to :new should display a form. test: on GET to :new should not set the flash. test: on GET to :new should render 'new' template. test: on GET to :new should respond with success. test: on GET to :show as xml should assign @user. test: on GET to :show as xml should have ContentType set to 'application/xml'. test: on GET to :show as xml should respond with success. test: on GET to :show as xml should return as the root element. test: on GET to :show should assign @user. test: on GET to :show should not set the flash. test: on GET to :show should render 'show' template. test: on GET to :show should respond with success. test: on POST to :create as xml should assign @user. test: on POST to :create as xml should not have errors on @user. test: on POST to :create should assign @user. test: on POST to :create should have /created/i in the flash. test: on POST to :create should not have errors on @user. test: on POST to :create should redirect to "user_url(@user)". test: on PUT to :update as xml should assign @user. test: on PUT to :update as xml should not have errors on @user. test: on PUT to :update should assign @user. test: on PUT to :update should have /updated/i in the flash. test: on PUT to :update should not have errors on @user. test: on PUT to :update should redirect to "user_url(@user)".