From e7464f2b6298a5b58a14150c7f4d923649b35d98 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 30 Aug 2011 15:53:33 +0000 Subject: [PATCH] remove trailing white-spaces from test/functional/gantts_controller_test.rb. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6817 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/gantts_controller_test.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/functional/gantts_controller_test.rb b/test/functional/gantts_controller_test.rb index 25113b063..5d8370cf2 100644 --- a/test/functional/gantts_controller_test.rb +++ b/test/functional/gantts_controller_test.rb @@ -7,7 +7,7 @@ class GanttsControllerTest < ActionController::TestCase should "work" do i2 = Issue.find(2) i2.update_attribute(:due_date, 1.month.from_now) - + get :show, :project_id => 1 assert_response :success assert_template 'show.html.erb' @@ -20,20 +20,20 @@ class GanttsControllerTest < ActionController::TestCase i = Issue.find(2) assert_select "div a.issue", /##{i.id}/ end - + should "work without issue due dates" do Issue.update_all("due_date = NULL") - + get :show, :project_id => 1 assert_response :success assert_template 'show.html.erb' assert_not_nil assigns(:gantt) end - + should "work without issue and version due dates" do Issue.update_all("due_date = NULL") Version.update_all("effective_date = NULL") - + get :show, :project_id => 1 assert_response :success assert_template 'show.html.erb' @@ -53,7 +53,7 @@ class GanttsControllerTest < ActionController::TestCase get :show assert_response :success assert_template 'show.html.erb' - + assert_tag 'a', :content => /eCookbook/ # Root private project assert_no_tag 'a', {:content => /OnlineStore/} @@ -76,7 +76,7 @@ class GanttsControllerTest < ActionController::TestCase assert @response.body.starts_with?('%PDF') assert_not_nil assigns(:gantt) end - + should "export to png" do get :show, :project_id => 1, :format => 'png' assert_response :success -- 2.39.5