  def test_update_invalid
    Medium.any_instance.stubs(:valid?).returns(false)
    put :update, {:id => Medium.first, :medium => {:name => nil}}, set_session_user
    assert_template 'edit'
  end
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.