summaryrefslogtreecommitdiffstats
path: root/test/object_helpers.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-04-22 12:46:43 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-04-22 12:46:43 +0000
commit0fad78f53f54bb8133c55a603c4175887b38866e (patch)
tree4f135e350d923449b6b5269e0c3ce96fe79e7cb6 /test/object_helpers.rb
parent2e3bf71e9ad344e2e49c216cc080d13da37e4a96 (diff)
downloadredmine-0fad78f53f54bb8133c55a603c4175887b38866e.tar.gz
redmine-0fad78f53f54bb8133c55a603c4175887b38866e.zip
Removed Query.generate_default! helper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9472 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/object_helpers.rb')
-rw-r--r--test/object_helpers.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/object_helpers.rb b/test/object_helpers.rb
index eb2c87e67..7be05606f 100644
--- a/test/object_helpers.rb
+++ b/test/object_helpers.rb
@@ -87,14 +87,6 @@ module ObjectHelpers
source
end
- # Generate the default Query
- def Query.generate_default!(attributes={})
- query = Query.new(attributes)
- query.name = '_' if query.name.blank?
- query.save!
- query
- end
-
# Generate an issue for a project, using it's trackers
def Issue.generate_for_project!(project, attributes={})
issue = Issue.new(attributes) do |issue|