Commit 32992bb3aeae7d3ed5562cafc300bcda9b557862
1 parent
bfd7bc3c
Exists in
master
and in
23 other branches
r234@sede: terceiro | 2007-07-28 18:23:02 -0300
ActionItem0: renaming fixtures git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@238 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
4 changed files
with
65 additions
and
65 deletions
Show diff stats
test/fixtures/blocks.yml
| ... | ... | @@ -1,46 +0,0 @@ |
| 1 | -# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html | |
| 2 | -#Main Block | |
| 3 | -one: | |
| 4 | - id: 1 | |
| 5 | - box_id: 2 | |
| 6 | - position: 1 | |
| 7 | - type: 'MainBlock' | |
| 8 | - helper: 'plain_content' | |
| 9 | - name: 'Main Content' | |
| 10 | -# Link Blocks | |
| 11 | -two: | |
| 12 | - id: 2 | |
| 13 | - box_id: 1 | |
| 14 | - position: 2 | |
| 15 | - type: 'LinkBlock' | |
| 16 | - helper: 'list_content' | |
| 17 | - name: 'List of Links 1' | |
| 18 | -three: | |
| 19 | - id: 3 | |
| 20 | - box_id: 1 | |
| 21 | - position: 3 | |
| 22 | - type: 'LinkBlock' | |
| 23 | - helper: 'plain_content' | |
| 24 | - name: 'List of Link 2' | |
| 25 | -#List Blocks | |
| 26 | -four: | |
| 27 | - id: 4 | |
| 28 | - box_id: 1 | |
| 29 | - position: 1 | |
| 30 | - type: 'ListBlock' | |
| 31 | - helper: 'list_content' | |
| 32 | - name: 'List of Names 1' | |
| 33 | -five: | |
| 34 | - id: 5 | |
| 35 | - box_id: 3 | |
| 36 | - position: 1 | |
| 37 | - type: 'ListBlock' | |
| 38 | - helper: 'list_content' | |
| 39 | - name: 'List of Names 2' | |
| 40 | -six: | |
| 41 | - id: 6 | |
| 42 | - box_id: 3 | |
| 43 | - position: 2 | |
| 44 | - type: 'ListBlock' | |
| 45 | - helper: 'list_content' | |
| 46 | - name: 'List of Names 3' |
test/fixtures/boxes.yml
| ... | ... | @@ -1,19 +0,0 @@ |
| 1 | -# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html | |
| 2 | -one: | |
| 3 | - id: 1 | |
| 4 | - number: 1 | |
| 5 | - owner_type: 'Profile' | |
| 6 | - owner_id: 1 | |
| 7 | - name: 'Box One' | |
| 8 | -two: | |
| 9 | - id: 2 | |
| 10 | - number: 2 | |
| 11 | - owner_type: 'Profile' | |
| 12 | - owner_id: 1 | |
| 13 | - name: 'Box Two' | |
| 14 | -three: | |
| 15 | - id: 3 | |
| 16 | - number: 3 | |
| 17 | - owner_type: 'Profile' | |
| 18 | - owner_id: 1 | |
| 19 | - name: 'Box Three' |
| ... | ... | @@ -0,0 +1,46 @@ |
| 1 | +# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html | |
| 2 | +#Main Block | |
| 3 | +one: | |
| 4 | + id: 1 | |
| 5 | + box_id: 2 | |
| 6 | + position: 1 | |
| 7 | + type: 'MainBlock' | |
| 8 | + helper: 'plain_content' | |
| 9 | + name: 'Main Content' | |
| 10 | +# Link Blocks | |
| 11 | +two: | |
| 12 | + id: 2 | |
| 13 | + box_id: 1 | |
| 14 | + position: 2 | |
| 15 | + type: 'LinkBlock' | |
| 16 | + helper: 'list_content' | |
| 17 | + name: 'List of Links 1' | |
| 18 | +three: | |
| 19 | + id: 3 | |
| 20 | + box_id: 1 | |
| 21 | + position: 3 | |
| 22 | + type: 'LinkBlock' | |
| 23 | + helper: 'plain_content' | |
| 24 | + name: 'List of Link 2' | |
| 25 | +#List Blocks | |
| 26 | +four: | |
| 27 | + id: 4 | |
| 28 | + box_id: 1 | |
| 29 | + position: 1 | |
| 30 | + type: 'ListBlock' | |
| 31 | + helper: 'list_content' | |
| 32 | + name: 'List of Names 1' | |
| 33 | +five: | |
| 34 | + id: 5 | |
| 35 | + box_id: 3 | |
| 36 | + position: 1 | |
| 37 | + type: 'ListBlock' | |
| 38 | + helper: 'list_content' | |
| 39 | + name: 'List of Names 2' | |
| 40 | +six: | |
| 41 | + id: 6 | |
| 42 | + box_id: 3 | |
| 43 | + position: 2 | |
| 44 | + type: 'ListBlock' | |
| 45 | + helper: 'list_content' | |
| 46 | + name: 'List of Names 3' | ... | ... |
| ... | ... | @@ -0,0 +1,19 @@ |
| 1 | +# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html | |
| 2 | +one: | |
| 3 | + id: 1 | |
| 4 | + number: 1 | |
| 5 | + owner_type: 'Profile' | |
| 6 | + owner_id: 1 | |
| 7 | + name: 'Box One' | |
| 8 | +two: | |
| 9 | + id: 2 | |
| 10 | + number: 2 | |
| 11 | + owner_type: 'Profile' | |
| 12 | + owner_id: 1 | |
| 13 | + name: 'Box Two' | |
| 14 | +three: | |
| 15 | + id: 3 | |
| 16 | + number: 3 | |
| 17 | + owner_type: 'Profile' | |
| 18 | + owner_id: 1 | |
| 19 | + name: 'Box Three' | ... | ... |