New test: test_index_options_add_column
This commit is contained in:
1
test/fixtures/goals.yml
vendored
1
test/fixtures/goals.yml
vendored
@@ -2,6 +2,7 @@ goals_binding:
|
||||
project_id: 1
|
||||
is_binding: true
|
||||
name: "<%= I18n.t 'targets.form.binding_goal' %>"
|
||||
|
||||
goals_non_binding:
|
||||
project_id: 1
|
||||
is_binding: false
|
||||
|
||||
9
test/fixtures/quantities.yml
vendored
9
test/fixtures/quantities.yml
vendored
@@ -6,3 +6,12 @@ quantities_energy:
|
||||
rgt: 2
|
||||
name: Energy
|
||||
description: Total energy
|
||||
|
||||
quantities_proteins:
|
||||
project_id: 1
|
||||
domain: diet
|
||||
parent: null
|
||||
lft: 3
|
||||
rgt: 4
|
||||
name: Proteins
|
||||
description: Total amount of proteins
|
||||
|
||||
1
test/fixtures/roles.yml
vendored
1
test/fixtures/roles.yml
vendored
@@ -6,6 +6,7 @@ roles_body_trackers_manager:
|
||||
permissions: |
|
||||
- :manage_body_trackers
|
||||
- :view_body_trackers
|
||||
|
||||
roles_body_trackers_viewer:
|
||||
name: View body trackers
|
||||
builtin: false
|
||||
|
||||
Reference in New Issue
Block a user