summaryrefslogtreecommitdiffstats
path: root/test/functional/admin_controller_test.rb
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-06-20 16:08:20 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-06-20 16:08:20 +0000
commit70da33fc29764d34ad0e41d37a8f7ab7f7a6d67e (patch)
tree8751cf3d1c5a3d4256fd92d5f238a190cadf8386 /test/functional/admin_controller_test.rb
parent95c3c63cfea276aec3e0a7b1e7de47dcf147afce (diff)
downloadredmine-70da33fc29764d34ad0e41d37a8f7ab7f7a6d67e.tar.gz
redmine-70da33fc29764d34ad0e41d37a8f7ab7f7a6d67e.zip
Add some assertions on the default data loading test to debug a Ruby 1.9 failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3799 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/admin_controller_test.rb')
-rw-r--r--test/functional/admin_controller_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/admin_controller_test.rb b/test/functional/admin_controller_test.rb
index 41fdda548..513353cc2 100644
--- a/test/functional/admin_controller_test.rb
+++ b/test/functional/admin_controller_test.rb
@@ -67,6 +67,8 @@ class AdminControllerTest < ActionController::TestCase
def test_load_default_configuration_data
delete_configuration_data
post :default_configuration, :lang => 'fr'
+ assert_response :redirect
+ assert_nil flash[:error]
assert IssueStatus.find_by_name('Nouveau')
end