##// END OF EJS Templates
Set radio button when selecting a date with the date picker....
Set radio button when selecting a date with the date picker. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10284 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9453:ba5a052c8ca8
r10101:1b64e4be5ea8
Show More
activities_test.rb
40 lines | 1.6 KiB | text/x-ruby | RubyLexer
Toshi MARUYAMA
test: route: move activities test to new file...
r8197 # Redmine - project management software
Jean-Philippe Lang
Copyright update....
r9453 # Copyright (C) 2006-2012 Jean-Philippe Lang
Toshi MARUYAMA
test: route: move activities test to new file...
r8197 #
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
require File.expand_path('../../../test_helper', __FILE__)
class RoutingActivitiesTest < ActionController::IntegrationTest
def test_activities
assert_routing(
{ :method => 'get', :path => "/activity" },
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 { :controller => 'activities', :action => 'index' }
Toshi MARUYAMA
test: route: move activities test to new file...
r8197 )
assert_routing(
{ :method => 'get', :path => "/activity.atom" },
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 { :controller => 'activities', :action => 'index', :format => 'atom' }
Toshi MARUYAMA
test: route: move activities test to new file...
r8197 )
Toshi MARUYAMA
test: route: move activities test in projects test to integration/routing/activities_test.rb...
r8226 assert_routing(
{ :method => 'get', :path => "/projects/33/activity" },
{ :controller => 'activities', :action => 'index', :id => '33' }
)
assert_routing(
{ :method => 'get', :path => "/projects/33/activity.atom" },
{ :controller => 'activities', :action => 'index', :id => '33',
:format => 'atom' }
)
Toshi MARUYAMA
test: route: move activities test to new file...
r8197 end
end