Mercurial > hg > soundsoftware-site
comparison test/functional/.svn/text-base/calendars_controller_test.rb.svn-base @ 41:7f0e922c8982 luisf
merged with new version from trunk
author | luisf |
---|---|
date | Fri, 19 Nov 2010 14:45:28 +0000 |
parents | 94944d00e43c |
children | af80e5618e9b |
comparison
equal
deleted
inserted
replaced
35:67e8aef29de9 | 41:7f0e922c8982 |
---|---|
13 def test_cross_project_calendar | 13 def test_cross_project_calendar |
14 get :show | 14 get :show |
15 assert_response :success | 15 assert_response :success |
16 assert_template 'calendar' | 16 assert_template 'calendar' |
17 assert_not_nil assigns(:calendar) | 17 assert_not_nil assigns(:calendar) |
18 end | |
19 | |
20 context "GET :show" do | |
21 should "run custom queries" do | |
22 @query = Query.generate_default! | |
23 | |
24 get :show, :query_id => @query.id | |
25 assert_response :success | |
26 end | |
27 | |
18 end | 28 end |
19 | 29 |
20 def test_week_number_calculation | 30 def test_week_number_calculation |
21 Setting.start_of_week = 7 | 31 Setting.start_of_week = 7 |
22 | 32 |