  def test_update_valid
    Realm.any_instance.stubs(:valid?).returns(true)
    put :update, {:id => Realm.first.name,
                  :realm => { :realm_proxy_id => SmartProxy.first.id } }, set_session_user
    assert_equal SmartProxy.first.id, Realm.first.realm_proxy_id
    assert_redirected_to realms_url
  end
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.