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
This commit is contained in:
Toshi MARUYAMA 2011-08-30 15:57:21 +00:00
parent a60788aa5a
commit 05d53e1fa5
1 changed files with 6 additions and 6 deletions

View File

@ -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'},