diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-04-17 06:57:20 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-04-17 06:57:20 +0000 |
commit | 64afa24a7f72526a2cbf6761e51b6cd326aa0c36 (patch) | |
tree | e0766ba52e537838fb6c06c09e81b10010690b09 /test/fixtures | |
parent | f2eb979f66da758fbed7d98ae970f7ef74d1263f (diff) | |
download | redmine-64afa24a7f72526a2cbf6761e51b6cd326aa0c36.tar.gz redmine-64afa24a7f72526a2cbf6761e51b6cd326aa0c36.zip |
Replaces acts_as_list with an implementation that handles #position= (#12909).
Objects are reordered using the regular attribute writer #position= and AR callbacks.
git-svn-id: http://svn.redmine.org/redmine/trunk@15335 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/fixtures')
-rw-r--r-- | test/fixtures/custom_fields.yml | 1 | ||||
-rw-r--r-- | test/fixtures/enumerations.yml | 2 | ||||
-rw-r--r-- | test/fixtures/roles.yml | 4 |
3 files changed, 5 insertions, 2 deletions
diff --git a/test/fixtures/custom_fields.yml b/test/fixtures/custom_fields.yml index 510e3a41c..98dccdfcb 100644 --- a/test/fixtures/custom_fields.yml +++ b/test/fixtures/custom_fields.yml @@ -145,3 +145,4 @@ custom_fields_011: SGXDqWzDp2prc2Tigqw2NTTDuQ== - Other value field_format: list + position: 1 diff --git a/test/fixtures/enumerations.yml b/test/fixtures/enumerations.yml index 23ea2b3aa..199caeace 100644 --- a/test/fixtures/enumerations.yml +++ b/test/fixtures/enumerations.yml @@ -78,11 +78,13 @@ enumerations_012: type: Enumeration is_default: true active: true + position: 1 enumerations_013: name: Another Enumeration id: 13 type: Enumeration active: true + position: 2 enumerations_014: name: Inactive Activity id: 14 diff --git a/test/fixtures/roles.yml b/test/fixtures/roles.yml index 2e1b7c660..0ed7aa13b 100644 --- a/test/fixtures/roles.yml +++ b/test/fixtures/roles.yml @@ -182,7 +182,7 @@ roles_004: - :browse_repository - :view_changesets - position: 4 + position: 1 roles_005: name: Anonymous id: 5 @@ -203,5 +203,5 @@ roles_005: - :browse_repository - :view_changesets - position: 5 + position: 1 |