summaryrefslogtreecommitdiffstats
path: root/test/object_helpers.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-05-18 12:07:43 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-05-18 12:07:43 +0000
commit23527da802bb94dacbd38b636bd7a8a216e3d1eb (patch)
treeaca05b2db52b1c35a767ef70a875bd411c934d66 /test/object_helpers.rb
parent79c8fea12ff10fec6d0b7aa1821e0012e387f6c1 (diff)
downloadredmine-23527da802bb94dacbd38b636bd7a8a216e3d1eb.tar.gz
redmine-23527da802bb94dacbd38b636bd7a8a216e3d1eb.zip
backout r11865 test/object_helpers.rb changes
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11867 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/object_helpers.rb')
-rw-r--r--test/object_helpers.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/object_helpers.rb b/test/object_helpers.rb
index dd68fbc8a..2f29793f2 100644
--- a/test/object_helpers.rb
+++ b/test/object_helpers.rb
@@ -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