summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/functional/projects_controller_test.rb2
-rw-r--r--test/functional/settings_controller_test.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb
index ac9312ca8..4bdd20954 100644
--- a/test/functional/projects_controller_test.rb
+++ b/test/functional/projects_controller_test.rb
@@ -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
diff --git a/test/functional/settings_controller_test.rb b/test/functional/settings_controller_test.rb
index 94f199f1b..71c11cc99 100644
--- a/test/functional/settings_controller_test.rb
+++ b/test/functional/settings_controller_test.rb
@@ -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