Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed failing test for test_validations.rb with last commit.

  • Loading branch information...
commit 76a372534d4cb7a7ddd4155b6835d3b77b91e64d 1 parent 8e52b28
@celeduc celeduc authored
Showing with 2 additions and 12 deletions.
  1. +2 −12 failing_tests.txt
View
14 failing_tests.txt
@@ -1,4 +1,4 @@
-Finished tests in 557.620890s, 0.1219 tests/s, 4.1211 assertions/s.
+Finished tests in 556.560976s, 0.1222 tests/s, 4.1649 assertions/s.
1) Failure:
test_clobs(TestLobs) [/home/ubuntu/src/simple_record/test/test_lobs.rb:45]:
@@ -8,14 +8,4 @@ puts is 1, should be 3.
test_single_clob(TestLobs) [/home/ubuntu/src/simple_record/test/test_lobs.rb:87]:
puts is 1, should be 0.
- 3) Failure:
-test_dirty(TestSimpleRecord) [/home/ubuntu/src/simple_record/test/test_simple_record.rb:204]:
-<0> expected but was
-<1>.
-
- 4) Failure:
-test_first_validations(TestValidations) [/home/ubuntu/src/simple_record/test/test_validations.rb:51]:
-#<ActiveModel::Errors:0xa89af1c @base=#<MyModel:0xa86eda4 @errors=#<ActiveModel::Errors:0xa89af1c ...>, @dirty={"save_count"=>nil}, @attributes={"name"=>["abcd"], "save_count"=>"09223372036854775809", "id"=>"7b17220c-4125-11e1-b9c7-080027c736d0", "created"=>["2012-01-17T16:08:23"], "updated"=>["2012-01-17T16:08:23"], "nickname"=>["abcd"]}, @attributes_rb={"name"=>"abcd", "created"=>Tue, 17 Jan 2012 16:08:23 +0000, "updated"=>Tue, 17 Jan 2012 16:08:23 +0000, "nickname"=>"abcd"}, @lobs={}, @new_record=false, @validation_context=nil, @attr_before_save=true, @attr_before_create=true, @attr_after_create=true, @attr_after_save=true>, @messages={:name=>["must be unique."]}>
-
-68 tests, 2298 assertions, 4 failures, 0 errors, 0 skips
-
+68 tests, 2318 assertions, 2 failures, 0 errors, 0 skips
Please sign in to comment.
Something went wrong with that request. Please try again.