##// END OF EJS Templates
Improved on-the-fly account creation. If some attributes are missing (eg. not present in the LDAP) or are invalid, the registration form is displayed so that the user is able to fill or fix these attributes....
Improved on-the-fly account creation. If some attributes are missing (eg. not present in the LDAP) or are invalid, the registration form is displayed so that the user is able to fill or fix these attributes. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1678 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1609:7cdd88a6ce36
r1661:eb1d969237a9
Show More
tracker_test.rb
33 lines | 1.2 KiB | text/x-ruby | RubyLexer
Jean-Philippe Lang
Workflow copy:...
r1237 # redMine - project management software
# Copyright (C) 2006-2008 Jean-Philippe Lang
#
# 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.dirname(__FILE__) + '/../test_helper'
class TrackerTest < Test::Unit::TestCase
fixtures :trackers, :workflows
def test_copy_workflows
source = Tracker.find(1)
Jean-Philippe Lang
Add some tests on RolesController....
r1254 assert_equal 89, source.workflows.size
Jean-Philippe Lang
Workflow copy:...
r1237
target = Tracker.new(:name => 'Target')
assert target.save
Jean-Philippe Lang
Merged Rails 2.1 compatibility branch....
r1609 target.workflows.copy(source)
Jean-Philippe Lang
Workflow copy:...
r1237 target.reload
Jean-Philippe Lang
Add some tests on RolesController....
r1254 assert_equal 89, target.workflows.size
Jean-Philippe Lang
Workflow copy:...
r1237 end
end