Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Failing tests

  • Loading branch information...
commit e2246366d64d2f7c3cca2c3e45c01634946377dd 1 parent 6314c4c
@celeduc celeduc authored
Showing with 26 additions and 14 deletions.
  1. +26 −14 failing_tests.txt
View
40 failing_tests.txt
@@ -1,3 +1,4 @@
+Finished tests in 538.747288s, 0.1114 tests/s, 4.0817 assertions/s.
1) Failure:
test_json(TestJson) [/home/ubuntu/src/simple_record/test/test_json.rb:51]:
@@ -23,6 +24,13 @@ Failed assertion, no message given.
test_limit(TestResultsArray) [/home/ubuntu/src/simple_record/test/test_results_array.rb:51]:
Failed assertion, no message given.
+ 7) Error:
+test_atts_using_strings_and_symbols(TestSimpleRecord):
+RuntimeError: Invalid parameters passed to find: nil.
+ /home/ubuntu/src/simple_record/lib/simple_record/active_sdb.rb:291:in `find_with_metadata'
+ /home/ubuntu/src/simple_record/lib/simple_record.rb:964:in `find'
+ /home/ubuntu/src/simple_record/test/test_simple_record.rb:548:in `test_atts_using_strings_and_symbols'
+
8) Error:
test_base_attributes(TestSimpleRecord):
SimpleRecord::RecordNotSaved: Validation failed: Name must be unique.
@@ -32,7 +40,7 @@ SimpleRecord::RecordNotSaved: Validation failed: Name must be unique.
9) Error:
test_batch_save(TestSimpleRecord):
-RuntimeError: Pre save failed on object [#<MyModel:0x9626534 @errors=#<ActiveModel::Errors:0x96264f8 @base=#<MyModel:0x9626534 ...>, @messages={:name=>["must be unique."]}>, @dirty={"name"=>nil, "age"=>nil, "cool"=>nil}, @attributes={"name"=>"Travis", "age"=>"09223372036854775840", "cool"=>"true"}, @attributes_rb={"name"=>"Travis", "save_count"=>nil}, @lobs={}, @new_record=true, @validation_context=nil>]
+RuntimeError: Pre save failed on object [#<MyModel:0x9274d00 @errors=#<ActiveModel::Errors:0x9274c9c @base=#<MyModel:0x9274d00 ...>, @messages={:name=>["must be unique."]}>, @dirty={"name"=>nil, "age"=>nil, "cool"=>nil}, @attributes={"name"=>"Travis", "age"=>"09223372036854775840", "cool"=>"true"}, @attributes_rb={"name"=>"Travis", "save_count"=>nil}, @lobs={}, @new_record=true, @validation_context=nil>]
/home/ubuntu/src/simple_record/lib/simple_record.rb:779:in `block (2 levels) in batch_save'
/home/ubuntu/src/simple_record/lib/simple_record.rb:777:in `each'
/home/ubuntu/src/simple_record/lib/simple_record.rb:777:in `block in batch_save'
@@ -81,40 +89,45 @@ test_explicit_class_name(TestSimpleRecord):
NoMethodError: undefined method `id' for nil:NilClass
/home/ubuntu/src/simple_record/test/test_simple_record.rb:603:in `test_explicit_class_name'
- 18) Failure:
+ 18) Error:
+test_funky_values(TestSimpleRecord):
+SimpleRecord::RecordNotFound: Couldn't find MyModel with ID ["0ba78b7e-3adf-11e1-8a2b-080027c736d0"]
+ /home/ubuntu/src/simple_record/lib/simple_record/active_sdb.rb:389:in `select_from_ids'
+ /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:964:in `find'
+ /home/ubuntu/src/simple_record/test/test_simple_record.rb:110:in `test_funky_values'
+
+ 19) Failure:
test_nil_attr_deletion(TestSimpleRecord) [/home/ubuntu/src/simple_record/test/test_simple_record.rb:412]:
Failed assertion, no message given.
- 19) Failure:
+ 20) Failure:
test_save_get(TestSimpleRecord) [/home/ubuntu/src/simple_record/test/test_simple_record.rb:26]:
Failed assertion, no message given.
- 20) Error:
+ 21) Error:
test_storage_format(TestSimpleRecord):
NoMethodError: undefined method `[]' for nil:NilClass
/home/ubuntu/src/simple_record/test/test_simple_record.rb:616:in `test_storage_format'
- 21) Error:
+ 22) Error:
test_updates(TestSimpleRecord):
RuntimeError: Invalid parameters passed to find: nil.
/home/ubuntu/src/simple_record/lib/simple_record/active_sdb.rb:291:in `find_with_metadata'
/home/ubuntu/src/simple_record/lib/simple_record.rb:964:in `find'
/home/ubuntu/src/simple_record/test/test_simple_record.rb:82:in `test_updates'
- 22) Error:
+ 23) Error:
test_more_validations(TestValidations):
IOError: closed stream
/home/ubuntu/src/simple_record/lib/simple_record/logging.rb:23:in `write'
/home/ubuntu/src/simple_record/lib/simple_record/logging.rb:23:in `puts'
/home/ubuntu/src/simple_record/lib/simple_record/logging.rb:23:in `write_usage'
/home/ubuntu/src/simple_record/lib/simple_record.rb:966:in `find'
- /home/ubuntu/src/simple_record/lib/simple_record/validations.rb:74:in `block in validate_uniques'
- /home/ubuntu/src/simple_record/lib/simple_record/validations.rb:70:in `each_pair'
- /home/ubuntu/src/simple_record/lib/simple_record/validations.rb:70:in `validate_uniques'
- /home/ubuntu/src/simple_record/lib/simple_record/validations.rb:45:in `valid?'
- /home/ubuntu/src/simple_record/test/test_validations.rb:76:in `test_more_validations'
+ /home/ubuntu/src/simple_record/lib/simple_record.rb:815:in `delete_all'
+ /home/ubuntu/src/simple_record/test/test_validations.rb:62:in `test_more_validations'
- 23) Error:
+ 24) Error:
test_validations(TestValidations):
IOError: closed stream
/home/ubuntu/src/simple_record/lib/simple_record/logging.rb:23:in `write'
@@ -127,5 +140,4 @@ IOError: closed stream
/home/ubuntu/src/simple_record/lib/simple_record/validations.rb:45:in `valid?'
/home/ubuntu/src/simple_record/test/test_validations.rb:31:in `test_validations'
-60 tests, 2190 assertions, 12 failures, 11 errors, 0 skips
-
+60 tests, 2199 assertions, 12 failures, 12 errors, 0 skips
Please sign in to comment.
Something went wrong with that request. Please try again.