]> source.dussan.org Git - redmine.git/commitdiff
remove trailing white-spaces from test/functional/issue_moves_controller_test.rb.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 31 Aug 2011 13:09:12 +0000 (13:09 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 31 Aug 2011 13:09:12 +0000 (13:09 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6908 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/issue_moves_controller_test.rb

index 2a9caca0fcc9340c0800024a1fbfaf3ee3ea6138..368cd7c8fa21d79e52eebca66e4761c6c913d841 100644 (file)
@@ -50,7 +50,7 @@ class IssueMovesControllerTest < ActionController::TestCase
     assert_equal 1, Issue.find(1).tracker_id
     assert_equal 2, Issue.find(2).tracker_id
   end
+
   def test_bulk_create_to_another_tracker
     @request.session[:user_id] = 2
     post :create, :ids => [1, 2], :new_tracker_id => 2
@@ -63,7 +63,7 @@ class IssueMovesControllerTest < ActionController::TestCase
     setup do
       @request.session[:user_id] = 2
     end
-    
+
     should "allow changing the issue priority" do
       post :create, :ids => [1, 2], :priority_id => 6
 
@@ -81,7 +81,7 @@ class IssueMovesControllerTest < ActionController::TestCase
       assert_equal 'Moving two issues', Issue.find(2).journals.sort_by(&:id).last.notes
 
     end
-    
+
   end
 
   def test_bulk_copy_to_another_project
@@ -108,12 +108,12 @@ class IssueMovesControllerTest < ActionController::TestCase
       assert_equal issue_before_move.status_id, issue_after_move.status_id
       assert_equal issue_before_move.assigned_to_id, issue_after_move.assigned_to_id
     end
-    
+
     should "allow changing the issue's attributes" do
       # Fixes random test failure with Mysql
       # where Issue.all(:limit => 2, :order => 'id desc', :conditions => {:project_id => 2}) doesn't return the expected results
       Issue.delete_all("project_id=2")
-      
+
       @request.session[:user_id] = 2
       assert_difference 'Issue.count', 2 do
         assert_no_difference 'Project.find(1).issues.count' do
@@ -137,7 +137,7 @@ class IssueMovesControllerTest < ActionController::TestCase
       assert_difference 'Issue.count', 1 do
         post :create, :ids => [1], :copy_options => {:copy => '1'}, :notes => 'Copying one issue', :new_tracker_id => '', :assigned_to_id => 4, :status_id => 3, :start_date => '2009-12-01', :due_date => '2009-12-31'
       end
-      
+
       issue = Issue.first(:order => 'id DESC')
       assert_equal 1, issue.journals.size
       journal = issue.journals.first
@@ -145,7 +145,7 @@ class IssueMovesControllerTest < ActionController::TestCase
       assert_equal 'Copying one issue', journal.notes
     end
   end
-  
+
   def test_copy_to_another_project_should_follow_when_needed
     @request.session[:user_id] = 2
     post :create, :ids => [1], :new_project_id => 2, :copy_options => {:copy => '1'}, :follow => '1'