diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-30 15:53:33 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-30 15:53:33 +0000 |
commit | e7464f2b6298a5b58a14150c7f4d923649b35d98 (patch) | |
tree | 17583ef0f45dc4779cf1779784bb0f736dfd8824 /test/functional/gantts_controller_test.rb | |
parent | 39d77565e008cc6569f305eb6b687478242e4415 (diff) | |
download | redmine-e7464f2b6298a5b58a14150c7f4d923649b35d98.tar.gz redmine-e7464f2b6298a5b58a14150c7f4d923649b35d98.zip |
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
Diffstat (limited to 'test/functional/gantts_controller_test.rb')
-rw-r--r-- | test/functional/gantts_controller_test.rb | 14 |
1 files 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 |