From: Toshi MARUYAMA Date: Tue, 30 Aug 2011 15:57:21 +0000 (+0000) Subject: remove trailing white-spaces from test/functional/calendars_controller_test.rb. X-Git-Tag: 1.3.0~1140 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=05d53e1fa51b1286388179515b1e154590855321;p=redmine.git remove trailing white-spaces from test/functional/calendars_controller_test.rb. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6822 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/functional/calendars_controller_test.rb b/test/functional/calendars_controller_test.rb index bb12316c7..84b886d08 100644 --- a/test/functional/calendars_controller_test.rb +++ b/test/functional/calendars_controller_test.rb @@ -9,7 +9,7 @@ class CalendarsControllerTest < ActionController::TestCase assert_template 'calendar' assert_not_nil assigns(:calendar) end - + def test_cross_project_calendar get :show assert_response :success @@ -20,19 +20,19 @@ class CalendarsControllerTest < ActionController::TestCase context "GET :show" do should "run custom queries" do @query = Query.generate_default!(:is_public => true) - + get :show, :query_id => @query.id assert_response :success end - + end - + def test_week_number_calculation Setting.start_of_week = 7 - + get :show, :month => '1', :year => '2010' assert_response :success - + assert_tag :tag => 'tr', :descendant => {:tag => 'td', :attributes => {:class => 'week-number'}, :content => '53'},