Permalink
Browse files

More random test failures

  • Loading branch information...
celeduc committed Jan 17, 2012
1 parent 480c87f commit 456aca7f51bfb25bdbdd89219f099dfd9f329518
Showing with 23 additions and 10 deletions.
  1. +23 −10 failing_tests.txt
View
@@ -1,4 +1,4 @@
-Finished tests in 756.083893s, 0.0899 tests/s, 3.0512 assertions/s.
+Finished tests in 552.351509s, 0.1231 tests/s, 4.1441 assertions/s.
1) Failure:
test_clobs(TestLobs) [/home/ubuntu/src/simple_record/test/test_lobs.rb:45]:
@@ -14,22 +14,35 @@ test_count(TestSimpleRecord) [/home/ubuntu/src/simple_record/test/test_simple_re
<3>.
4) Failure:
+test_dirty(TestSimpleRecord) [/home/ubuntu/src/simple_record/test/test_simple_record.rb:205]:
+<1> expected but was
+<0>.
+
+ 5) Error:
+test_explicit_class_name(TestSimpleRecord):
+SimpleRecord::RecordNotFound: Couldn't find MyModel with ID ["088e3df4-4109-11e1-a53f-080027c736d0"]
+ /home/ubuntu/src/simple_record/lib/simple_record/translations.rb:93:in `eval'
+ /home/ubuntu/src/simple_record/lib/simple_record/active_sdb.rb:300:in `find_with_metadata'
+ /home/ubuntu/src/simple_record/lib/simple_record.rb:967:in `find'
+ (eval):1:in `sdb_to_ruby'
+ /home/ubuntu/src/simple_record/lib/simple_record/translations.rb:93:in `eval'
+ /home/ubuntu/src/simple_record/lib/simple_record/translations.rb:93:in `sdb_to_ruby'
+ /home/ubuntu/src/simple_record/lib/simple_record/attributes.rb:397:in `get_attribute'
+ /home/ubuntu/src/simple_record/lib/simple_record/attributes.rb:186:in `block in belongs_to'
+ /home/ubuntu/src/simple_record/test/test_simple_record.rb:531:in `test_explicit_class_name'
+
+ 6) Failure:
test_nil_attr_deletion(TestSimpleRecord) [/home/ubuntu/src/simple_record/test/test_simple_record.rb:359]:
<0> expected but was
<1>.
- 5) Failure:
+ 7) Failure:
test_null(TestSimpleRecord) [/home/ubuntu/src/simple_record/test/test_simple_record.rb:384]:
<2> expected but was
<1>.
- 6) Error:
-test_storage_format(TestSimpleRecord):
-NoMethodError: undefined method `[]' for nil:NilClass
- /home/ubuntu/src/simple_record/test/test_simple_record.rb:543:in `test_storage_format'
-
- 7) Failure:
+ 8) Failure:
test_first_validations(TestValidations) [/home/ubuntu/src/simple_record/test/test_validations.rb:51]:
-#<ActiveModel::Errors:0x8febc8c @base=#<MyModel:0x85e26dc @errors=#<ActiveModel::Errors:0x8febc8c ...>, @dirty={"save_count"=>nil}, @attributes={"name"=>["abcd"], "save_count"=>"09223372036854775809", "id"=>"a012cad4-4107-11e1-b727-080027c736d0", "created"=>["2012-01-17T12:34:40"], "updated"=>["2012-01-17T12:34:40"], "nickname"=>["abcd"]}, @attributes_rb={"name"=>"abcd", "created"=>Tue, 17 Jan 2012 12:34:40 +0000, "updated"=>Tue, 17 Jan 2012 12:34:40 +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."]}>
+#<ActiveModel::Errors:0x9c562d8 @base=#<MyModel:0x9c293b4 @errors=#<ActiveModel::Errors:0x9c562d8 ...>, @dirty={"save_count"=>nil}, @attributes={"name"=>["abcd"], "save_count"=>"09223372036854775809", "id"=>"29d80436-4109-11e1-a53f-080027c736d0", "created"=>["2012-01-17T12:45:41"], "updated"=>["2012-01-17T12:45:41"], "nickname"=>["abcd"]}, @attributes_rb={"name"=>"abcd", "created"=>Tue, 17 Jan 2012 12:45:41 +0000, "updated"=>Tue, 17 Jan 2012 12:45:41 +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, 2307 assertions, 6 failures, 1 errors, 0 skips
+68 tests, 2289 assertions, 7 failures, 1 errors, 0 skips

0 comments on commit 456aca7

Please sign in to comment.