Commit 0c4c484d authored by tmaruyama's avatar tmaruyama

backout r11865 test/object_helpers.rb changes

git-svn-id: https://svn.redmine.org/redmine/trunk@11867 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 2b0ec315
......@@ -99,7 +99,6 @@ module ObjectHelpers
@generated_version_name.succ!
version = Version.new(attributes)
version.name = @generated_version_name.dup if version.name.blank?
version.project ||= Project.find(1)
yield version if block_given?
version.save!
version
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment