Index: test/functional/ledgers_controller_test.rb
===================================================================
--- test/functional/ledgers_controller_test.rb  (revisão 1338)
+++ test/functional/ledgers_controller_test.rb  (cópia de trabalho)
@@ -435,4 +435,11 @@
     assert_template 'list'
   end
 
+  def test_should_not_modify_value_of_legder
+    l = create_ledger(:value => 99.0)
+    post :update, :id => l.id
+    l.reload
+    assert_in_delta 0.99, l.value, 0.000001
+  end
+
 end

