]> source.dussan.org Git - redmine.git/commitdiff
backout r11865 test/object_helpers.rb changes
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 18 May 2013 12:07:43 +0000 (12:07 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 18 May 2013 12:07:43 +0000 (12:07 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11867 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/object_helpers.rb

index dd68fbc8ae10ac22734f8d674356e54af21d759e..2f29793f2493174d425bf792922d1367cb7f9d5e 100644 (file)
@@ -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