diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-06-01 18:24:33 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-06-01 18:24:33 +0000 |
commit | 733fef458c5c0aa7b0d3231f849dfc3245143ddb (patch) | |
tree | c2cc4cdb0adb3fa640f963a2dcf460130b16c232 /test/object_helpers.rb | |
parent | 121ce2a3900cd9fcb67df7fbcb7bd660d3251f79 (diff) | |
download | redmine-733fef458c5c0aa7b0d3231f849dfc3245143ddb.tar.gz redmine-733fef458c5c0aa7b0d3231f849dfc3245143ddb.zip |
Replaced group[lastname] parameter with group[name].
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9745 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/object_helpers.rb')
-rw-r--r-- | test/object_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/object_helpers.rb b/test/object_helpers.rb index 6db4336cf..a2d7c958f 100644 --- a/test/object_helpers.rb +++ b/test/object_helpers.rb @@ -21,7 +21,7 @@ module ObjectHelpers @generated_group_name ||= 'Group 0' @generated_group_name.succ! group = Group.new(attributes) - group.lastname = @generated_group_name if group.lastname.blank? + group.name = @generated_group_name if group.name.blank? yield group if block_given? group.save! group |