diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-22 12:45:13 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-22 12:45:13 +0000 |
commit | 2e3bf71e9ad344e2e49c216cc080d13da37e4a96 (patch) | |
tree | af0c9f5d0c8fe61c53d5f1d87fa4fc3c61a9b3aa /test/object_helpers.rb | |
parent | 95f9246a46de372980a80582d72d46d4e618b3b3 (diff) | |
download | redmine-2e3bf71e9ad344e2e49c216cc080d13da37e4a96.tar.gz redmine-2e3bf71e9ad344e2e49c216cc080d13da37e4a96.zip |
Removed #generate_with_protected helper methods.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9471 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/object_helpers.rb')
-rw-r--r-- | test/object_helpers.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/test/object_helpers.rb b/test/object_helpers.rb index 3cd5e5cd6..eb2c87e67 100644 --- a/test/object_helpers.rb +++ b/test/object_helpers.rb @@ -1,18 +1,4 @@ module ObjectHelpers - # TODO: Remove these three once everyone has ported their code to use the - # new object_daddy version with protected attribute support - def User.generate_with_protected(attributes={}) - User.generate(attributes) - end - - def User.generate_with_protected!(attributes={}) - User.generate!(attributes) - end - - def User.spawn_with_protected(attributes={}) - User.spawn(attributes) - end - def User.add_to_project(user, project, roles) roles = [roles] unless roles.is_a?(Array) Member.create!(:principal => user, :project => project, :roles => roles) |