From: Jean-Philippe Lang Date: Sun, 3 Jul 2011 15:19:22 +0000 (+0000) Subject: Fixes a functional test case. X-Git-Tag: 1.3.0~1742 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b184caec13c5185cb5a8b4d228d25e2d34131857;p=redmine.git Fixes a functional test case. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6172 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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