summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-03 15:19:22 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-03 15:19:22 +0000
commitb184caec13c5185cb5a8b4d228d25e2d34131857 (patch)
tree952e803ebb6ff99a2f47e9e8c802cb3c83ef52d0
parent5811bd13449c15699fc90cce3612d2b47c3bbb01 (diff)
downloadredmine-b184caec13c5185cb5a8b4d228d25e2d34131857.tar.gz
redmine-b184caec13c5185cb5a8b4d228d25e2d34131857.zip
Fixes a functional test case.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6172 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/functional/calendars_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/calendars_controller_test.rb b/test/functional/calendars_controller_test.rb
index a8c0e2af1..bb12316c7 100644
--- a/test/functional/calendars_controller_test.rb
+++ b/test/functional/calendars_controller_test.rb
@@ -19,7 +19,7 @@ class CalendarsControllerTest < ActionController::TestCase
context "GET :show" do
should "run custom queries" do
- @query = Query.generate_default!
+ @query = Query.generate_default!(:is_public => true)
get :show, :query_id => @query.id
assert_response :success