spec/controllers/admin/preferences_controller_spec.rb in radiant-0.9.1 vs spec/controllers/admin/preferences_controller_spec.rb in radiant-1.0.0.rc1

- old
+ new

@@ -15,10 +15,10 @@ it "should allow you to save your preferences" do login_as :non_admin put :update, :user => { :password => '', :password_confirmation => '', :email => 'updated@gmail.com' } user = users(:non_admin) - response.should redirect_to(admin_preferences_path) + response.should redirect_to(admin_configuration_path) user.email.should == 'updated@gmail.com' end it "should not allow you to update your role through the preferences page" do login_as :non_admin