cirandas.net

ref: master

test/fixtures/role_assignments.yml


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
one:
  id: 1
  accessor_id: 4
  accessor_type: 'Profile'
  role_id: 2
  resource_id: 1
  resource_type: 'Environment'
two:
  id: 2
  accessor_id: 1
  accessor_type: 'Profile'
  role_id: 1
  resource_id: 5
  resource_type: 'Profile'
three:
  id: 3
  accessor_id: 1
  accessor_type: 'Profile'
  role_id: 1
  resource_id: 6
  resource_type: 'Profile'
four:
  id: 4
  accessor_id: 4
  accessor_type: 'Profile'
  role_id: 4
  resource_id: 1 
  resource_type: 'Environment'