Skip to content

Instantly share code, notes, and snippets.

@yahonda
Created August 18, 2017 15:07
Show Gist options
  • Save yahonda/5d6512c7f6d0df2f5c4759747238dc75 to your computer and use it in GitHub Desktop.
Save yahonda/5d6512c7f6d0df2f5c4759747238dc75 to your computer and use it in GitHub Desktop.
reverse_fixtures - 5654 runs, 15563 assertions, 24 failures, 0 errors, 2 skips
$ ARCONN=postgresql bin/test
Using postgresql
Run options: --seed 37347
# Running:
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F...........................................................................................................................................................................................................................................................................................................................................................................................................................S....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F................................F..............F...............................S..........................F...........................................................................................................................................................................................................................................F..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F................F.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F...............................................................................................F...............................................F...................................................................................................................F........................................................................................F..F.F............FF...............F.F.........................................................................................................................................................................................................................................................................................................F................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.................................................................................................................................................................................................................................................F......................................................................................................F...................................................................................................................................................................................................................................................................................................
Finished in 288.499672s, 19.5979 runs/s, 53.9446 assertions/s.
1) Failure:
AssociationProxyTest#test_first!_works_on_loaded_associations [/home/yahonda/git/rails/activerecord/test/cases/associations_test.rb:250]:
--- expected
+++ actual
@@ -1 +1 @@
-#<Post id: 1, author_id: 1, title: "Welcome to the weblog", body: "Such a lovely day", type: "Post", comments_count: 2, taggings_with_delete_all_count: 0, taggings_with_destroy_count: 0, tags_count: 1, tags_with_destroy_count: 0, tags_with_nullify_count: 0>
+#<Post id: 6, author_id: 1, title: "habtm sti test", body: "hello", type: "Post", comments_count: 0, taggings_with_delete_all_count: 0, taggings_with_destroy_count: 0, tags_count: 0, tags_with_destroy_count: 0, tags_with_nullify_count: 0>
2) Failure:
CalculationsTest#test_limit_should_apply_before_count [/home/yahonda/git/rails/activerecord/test/cases/calculations_test.rb:166]:
Expected: 3
Actual: 4
3) Failure:
CalculationsTest#test_pluck_with_multiple_columns_and_selection_clause [/home/yahonda/git/rails/activerecord/test/cases/calculations_test.rb:703]:
--- expected
+++ actual
@@ -1 +1 @@
-[[1, 50], [2, 50], [3, 50], [4, 60], [5, 55], [6, 53]]
+[[6, 53], [5, 55], [4, 60], [3, 50], [2, 50], [1, 50]]
4) Failure:
CalculationsTest#test_limit_should_apply_before_count_arel_attribute [/home/yahonda/git/rails/activerecord/test/cases/calculations_test.rb:174]:
Expected: 3
Actual: 4
5) Failure:
CalculationsTest#test_pluck_columns_with_same_name [/home/yahonda/git/rails/activerecord/test/cases/calculations_test.rb:732]:
--- expected
+++ actual
@@ -1 +1 @@
-[["The First Topic", "The Second Topic of the day"], ["The Third Topic of the day", "The Fourth Topic of the day"]]
+[["The Third Topic of the day", "The Fourth Topic of the day"], ["The First Topic", "The Second Topic of the day"]]
6) Failure:
EachTest#test_in_batches_should_not_ignore_default_scope_without_order_statements [/home/yahonda/git/rails/activerecord/test/cases/batches_test.rb:444]:
Expected: [1, 5, 6]
Actual: [6, 5, 1]
7) Failure:
FinderTest#test_find_by_ids_with_limit_and_offset [/home/yahonda/git/rails/activerecord/test/cases/finder_test.rb:292]:
Expected: "fixture_10"
Actual: "Jamis"
8) Failure:
FinderTest#test_take [/home/yahonda/git/rails/activerecord/test/cases/finder_test.rb:368]:
--- expected
+++ actual
@@ -1 +1 @@
-#<Topic id: 1, title: "The First Topic", author_name: "David", author_email_address: "[email protected]", written_on: "2003-07-16 14:28:11", bonus_time: "2000-01-01 14:28:00", last_read: "2004-04-15", content: "Have a nice day", important: nil, approved: false, replies_count: 1, unique_replies_count: 0, parent_id: nil, parent_title: nil, type: nil, group: nil, created_at: "2017-08-18 14:14:29", updated_at: "2017-08-18 14:14:29">
+#<Topic id: 5, title: "The Fifth Topic of the day", author_name: "Jason", author_email_address: nil, written_on: "2013-07-13 11:11:00", bonus_time: nil, last_read: nil, content: "Omakase", important: nil, approved: true, replies_count: 0, unique_replies_count: 0, parent_id: nil, parent_title: nil, type: nil, group: nil, created_at: "2017-08-18 14:14:29", updated_at: "2017-08-18 14:14:29">
9) Failure:
HasManyAssociationsTest#test_depends_and_nullify [/home/yahonda/git/rails/activerecord/test/cases/associations/has_many_associations_test.rb:1622]:
--- expected
+++ actual
@@ -1 +1 @@
-#<Account id: 3, firm_id: 6, firm_name: nil, credit_limit: 50>
+#<Account id: 5, firm_id: 6, firm_name: nil, credit_limit: 55>
10) Failure:
EagerAssociationTest#test_deep_including_through_habtm [/home/yahonda/git/rails/activerecord/test/cases/associations/eager_test.rb:1281]:
Expected: 2
Actual: 1
11) Failure:
RelationTest#test_relation_join_method [/home/yahonda/git/rails/activerecord/test/cases/relations_test.rb:1870]:
--- expected
+++ actual
@@ -1 +1 @@
-"Thank you for the welcome,Thank you again for the welcome"
+"Thank you again for the welcome,Thank you for the welcome"
12) Failure:
RelationTest#test_reverse_arel_assoc_order_with_function [/home/yahonda/git/rails/activerecord/test/cases/relations_test.rb:247]:
Expected: "The Second Topic of the day"
Actual: "The Fourth Topic of the day"
13) Failure:
RelationTest#test_reverse_order_with_function [/home/yahonda/git/rails/activerecord/test/cases/relations_test.rb:242]:
Expected: "The Second Topic of the day"
Actual: "The Fourth Topic of the day"
14) Failure:
NestedThroughAssociationsTest#test_has_many_through_has_one_with_has_many_through_source_reflection_preload_via_joins [/home/yahonda/git/rails/activerecord/test/cases/associations/nested_through_associations_test.rb:168]:
--- expected
+++ actual
@@ -1 +1 @@
-[#<Member id: 1, name: "Groucho Marx", member_type_id: 1>, #<Member id: 2, name: "Englebert Humperdink", member_type_id: 2>]
+[#<Member id: 2, name: "Englebert Humperdink", member_type_id: 2>, #<Member id: 1, name: "Groucho Marx", member_type_id: 1>]
15) Failure:
NestedThroughAssociationsTest#test_has_many_through_has_one_through_with_has_many_source_reflection_preload_via_joins [/home/yahonda/git/rails/activerecord/test/cases/associations/nested_through_associations_test.rb:200]:
--- expected
+++ actual
@@ -1 +1 @@
-[#<Member id: 1, name: "Groucho Marx", member_type_id: 1>, #<Member id: 2, name: "Englebert Humperdink", member_type_id: 2>]
+[#<Member id: 2, name: "Englebert Humperdink", member_type_id: 2>, #<Member id: 1, name: "Groucho Marx", member_type_id: 1>]
16) Failure:
NestedThroughAssociationsTest#test_has_many_through_has_one_through_with_has_one_source_reflection_preload [/home/yahonda/git/rails/activerecord/test/cases/associations/nested_through_associations_test.rb:135]:
--- expected
+++ actual
@@ -1 +1 @@
-[#<Sponsor id: 258575788, club_id: 828473226, sponsorable_type: "Member", sponsorable_id: 1>]
+#<ActiveRecord::Associations::CollectionProxy [#<Sponsor id: 464196598, club_id: 479391852, sponsorable_type: "Member", sponsorable_id: 3>]>
17) Failure:
NestedThroughAssociationsTest#test_has_many_through_has_many_through_with_has_many_source_reflection_preload [/home/yahonda/git/rails/activerecord/test/cases/associations/nested_through_associations_test.rb:90]:
--- expected
+++ actual
@@ -1 +1 @@
-[#<Subscriber nick: "alterself", name: "Luke Holden", id: "alterself", books_count: 0, update_count: 0>, #<Subscriber nick: "webster132", name: "David Heinemeier Hansson", id: "webster132", books_count: 0, update_count: 0>, #<Subscriber nick: "webster132", name: "David Heinemeier Hansson", id: "webster132", books_count: 0, update_count: 0>]
+[]
18) Failure:
NestedThroughAssociationsTest#test_has_many_through_has_many_through_with_belongs_to_source_reflection_preload [/home/yahonda/git/rails/activerecord/test/cases/associations/nested_through_associations_test.rb:306]:
--- expected
+++ actual
@@ -1 +1 @@
-[#<Tag id: 1, name: "General", taggings_count: 0>, #<Tag id: 1, name: "General", taggings_count: 0>]
+#<ActiveRecord::Associations::CollectionProxy [#<Tag id: 3, name: "Blue", taggings_count: 0>, #<Tag id: 3, name: "Blue", taggings_count: 0>, #<Tag id: 3, name: "Blue", taggings_count: 0>, #<Tag id: 2, name: "Misc", taggings_count: 0>]>
19) Failure:
NestedThroughAssociationsTest#test_has_many_through_has_many_with_has_many_through_source_reflection_preload [/home/yahonda/git/rails/activerecord/test/cases/associations/nested_through_associations_test.rb:63]:
--- expected
+++ actual
@@ -1 +1 @@
-[#<Tag id: 1, name: "General", taggings_count: 0>, #<Tag id: 1, name: "General", taggings_count: 0>]
+#<ActiveRecord::Associations::CollectionProxy [#<Tag id: 3, name: "Blue", taggings_count: 0>, #<Tag id: 3, name: "Blue", taggings_count: 0>, #<Tag id: 3, name: "Blue", taggings_count: 0>, #<Tag id: 2, name: "Misc", taggings_count: 0>]>
20) Failure:
NestedThroughAssociationsTest#test_has_many_through_has_one_with_has_one_through_source_reflection_preload [/home/yahonda/git/rails/activerecord/test/cases/associations/nested_through_associations_test.rb:113]:
--- expected
+++ actual
@@ -1 +1 @@
-[#<MemberType id: 1, name: "Founding">]
+#<ActiveRecord::Associations::CollectionProxy []>
21) Failure:
DatabaseConnectedJsonEncodingTest#test_should_be_able_to_encode_relation [/home/yahonda/git/rails/activerecord/test/cases/json_serialization_test.rb:308]:
--- expected
+++ actual
@@ -1 +1 @@
-"[{\"author\":{\"name\":\"David\"}},{\"author\":{\"name\":\"Mary\"}}]"
+"[{\"author\":{\"name\":\"Mary\"}},{\"author\":{\"name\":\"David\"}}]"
22) Failure:
PersistenceTest#test_update_all_doesnt_ignore_order [/home/yahonda/git/rails/activerecord/test/cases/persistence_test.rb:51]:
Expected false to be truthy.
23) Failure:
LeftOuterJoinAssociationTest#test_construct_finder_sql_applies_aliases_tables_on_association_conditions [/home/yahonda/git/rails/activerecord/test/cases/associations/left_outer_join_association_test.rb:16]:
--- expected
+++ actual
@@ -1 +1 @@
-#<Author id: 1, name: "David", author_address_id: 1, author_address_extra_id: 2, organization_id: "No Such Agency", owned_essay_id: "A Modest Proposal">
+#<Author id: 3, name: "Bob", author_address_id: 4, author_address_extra_id: nil, organization_id: nil, owned_essay_id: nil>
24) Failure:
ActiveRecord::OrTest#test_or_with_bind_params [/home/yahonda/git/rails/activerecord/test/cases/relation/or_test.rb:34]:
--- expected
+++ actual
@@ -1 +1 @@
-[#<Post id: 1, author_id: 1, title: "Welcome to the weblog", body: "Such a lovely day", type: "Post", comments_count: 2, taggings_with_delete_all_count: 0, taggings_with_destroy_count: 0, tags_count: 1, tags_with_destroy_count: 0, tags_with_nullify_count: 0>, #<SpecialPost id: 2, author_id: 1, title: "So I was thinking", body: "Like I hopefully always am", type: "SpecialPost", comments_count: 1, taggings_with_delete_all_count: 0, taggings_with_destroy_count: 0, tags_count: 1, tags_with_destroy_count: 0, tags_with_nullify_count: 0>]
+[#<SpecialPost id: 2, author_id: 1, title: "So I was thinking", body: "Like I hopefully always am", type: "SpecialPost", comments_count: 1, taggings_with_delete_all_count: 0, taggings_with_destroy_count: 0, tags_count: 1, tags_with_destroy_count: 0, tags_with_nullify_count: 0>, #<Post id: 1, author_id: 1, title: "Welcome to the weblog", body: "Such a lovely day", type: "Post", comments_count: 2, taggings_with_delete_all_count: 0, taggings_with_destroy_count: 0, tags_count: 1, tags_with_destroy_count: 0, tags_with_nullify_count: 0>]
5654 runs, 15563 assertions, 24 failures, 0 errors, 2 skips
You have skipped tests. Run with --verbose for details.
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment