git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@4317
e93f8b46-1217-0410-a6f0-
8f06a7374b81
helper :projects
helper :queries
include QueriesHelper
+ helper :sort
+ include SortHelper
def show
if params[:year] and params[:year].to_i > 1900
assert_template 'calendar'
assert_not_nil assigns(:calendar)
end
+
+ context "GET :show" do
+ should "run custom queries" do
+ @query = Query.generate_default!
+
+ get :show, :query_id => @query.id
+ assert_response :success
+ end
+
+ end
def test_week_number_calculation
Setting.start_of_week = 7