]> source.dussan.org Git - redmine.git/commitdiff
Fixes a functional test case.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 3 Jul 2011 15:19:22 +0000 (15:19 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 3 Jul 2011 15:19:22 +0000 (15:19 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6172 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/calendars_controller_test.rb

index a8c0e2af1a8c22e14d04077178a341c9e9dbe36b..bb12316c78540ae8c08f2dc29d328633d064e524 100644 (file)
@@ -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