Commit ea4fab1c9c6af77f925e6f82f05eedd3943441a6

Authored by LeandroNunes
1 parent ffca346e

ActionItem0: adding fixtures

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@81 3f533792-8f58-4932-b0fe-aaf55b0a4547
test/fixtures/blocks.yml 0 → 100644
... ... @@ -0,0 +1,40 @@
  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 + name: 'Main Content'
  9 +# Link Blocks
  10 +two:
  11 + id: 2
  12 + box_id: 1
  13 + position: 2
  14 + type: 'LinkBlock'
  15 + name: 'List of Links 1'
  16 +three:
  17 + id: 3
  18 + box_id: 1
  19 + position: 3
  20 + type: 'LinkBlock'
  21 + name: 'List of Link 2'
  22 +#List Blocks
  23 +four:
  24 + id: 4
  25 + box_id: 1
  26 + position: 1
  27 + type: 'ListBlock'
  28 + name: 'List of Names 1'
  29 +five:
  30 + id: 5
  31 + box_id: 3
  32 + position: 1
  33 + type: 'ListBlock'
  34 + name: 'List of Names 2'
  35 +six:
  36 + id: 6
  37 + box_id: 3
  38 + position: 2
  39 + type: 'ListBlock'
  40 + name: 'List of Names 3'
... ...
test/fixtures/boxes.yml 0 → 100644
... ... @@ -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'
... ...