  def test_update_invalid
    Domain.any_instance.stubs(:valid?).returns(false)
    put :update, {:id => Domain.first.to_param, :domain => {:name => Domain.first.name }}, 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.