joinfix 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README +1 -1
- data/lib/joinfix/fixtures.rb +130 -155
- data/lib/joinfix/fixtures_class.rb +95 -30
- data/lib/joinfix.rb +108 -45
- data/rails/log/development.log +71 -0
- data/rails/log/test.log +85 -0
- data/rails/test/test_helper.rb +1 -0
- data/test/belongs_to_polymorphic_test.rb +78 -0
- data/test/belongs_to_test.rb +135 -44
- data/test/belongs_to_with_options_test.rb +57 -0
- data/test/has_and_belongs_to_many_test.rb +36 -36
- data/test/has_and_belongs_to_many_with_options_test.rb +84 -0
- data/test/has_many_as_test.rb +66 -0
- data/test/has_many_test.rb +33 -69
- data/test/has_many_through_test.rb +79 -0
- data/test/has_many_through_with_options_test.rb +85 -0
- data/test/has_many_with_options_test.rb +63 -0
- data/test/has_one_test.rb +26 -27
- data/test/has_one_with_options_test.rb +57 -0
- data/test/joinfix_test.rb +5 -5
- data/test/joinfix_test_helper.rb +76 -16
- data/test/missing_fixture_test.rb +54 -0
- data/test/nested_test.rb +13 -6
- data/test/todo +15 -0
- metadata +48 -51
- data/test/fixtures/as_children.yml +0 -0
- data/test/fixtures/bt_children.yml +0 -0
- data/test/fixtures/bt_parents.yml +0 -30
- data/test/fixtures/habtm_children.yml +0 -0
- data/test/fixtures/habtm_children_habtm_parents.yml +0 -0
- data/test/fixtures/habtm_joins.yml +0 -0
- data/test/fixtures/habtm_parents.yml +0 -18
- data/test/fixtures/hm_children.yml +0 -0
- data/test/fixtures/hm_joins.yml +0 -0
- data/test/fixtures/hm_parents.yml +0 -34
- data/test/fixtures/ho_children.yml +0 -0
- data/test/fixtures/ho_parents.yml +0 -14
- data/test/fixtures/no_join_fixes.yml +0 -4
- data/test/fixtures/omap_no_join_fixes.yml +0 -7
- data/test/fixtures/polymorphic_children.yml +0 -0
@@ -1,34 +0,0 @@
|
|
1
|
-
without_children:
|
2
|
-
field: without_children
|
3
|
-
|
4
|
-
with_hm_children:
|
5
|
-
field: with_hm_children
|
6
|
-
hm_children:
|
7
|
-
first:
|
8
|
-
field: 1
|
9
|
-
second:
|
10
|
-
field: 2
|
11
|
-
|
12
|
-
with_children:
|
13
|
-
field: with_children
|
14
|
-
children:
|
15
|
-
third:
|
16
|
-
field: 3
|
17
|
-
fourth:
|
18
|
-
field: 4
|
19
|
-
|
20
|
-
with_through_children:
|
21
|
-
field: with_through_children
|
22
|
-
through_children:
|
23
|
-
fifth:
|
24
|
-
field: 5
|
25
|
-
sixth:
|
26
|
-
field: 6
|
27
|
-
|
28
|
-
with_as_children:
|
29
|
-
field: with_as_children
|
30
|
-
as_children:
|
31
|
-
seventh:
|
32
|
-
field: 7
|
33
|
-
eighth:
|
34
|
-
field: 8
|
File without changes
|
File without changes
|