mirror of
https://github.com/redmine/redmine.git
synced 2026-02-07 15:20:11 +01:00
Use named routes in controllers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10983 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -184,7 +184,7 @@ class ProjectsControllerTest < ActionController::TestCase
|
||||
assert_difference 'Project.count' do
|
||||
post :create, :project => {:name => "blog", :identifier => "blog"}, :continue => 'Create and continue'
|
||||
end
|
||||
assert_redirected_to '/projects/new?'
|
||||
assert_redirected_to '/projects/new'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ class SettingsControllerTest < ActionController::TestCase
|
||||
:notified_events => %w(issue_added issue_updated news_added),
|
||||
:emails_footer => 'Test footer'
|
||||
}
|
||||
assert_redirected_to '/settings/edit'
|
||||
assert_redirected_to '/settings'
|
||||
assert_equal 'functional@test.foo', Setting.mail_from
|
||||
assert !Setting.bcc_recipients?
|
||||
assert_equal %w(issue_added issue_updated news_added), Setting.notified_events
|
||||
|
||||
Reference in New Issue
Block a user