diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-21 15:43:44 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-21 15:43:44 +0000 |
commit | 387836f8aa736eba4dfe0da879ad71bbc19dd224 (patch) | |
tree | 6ffbc47a0cb736113519c1d6a33d9c7997575bc6 /test/functional/settings_controller_test.rb | |
parent | 1f84a8d83ea8dce0285828a6f50d53b8893d868b (diff) | |
download | redmine-387836f8aa736eba4dfe0da879ad71bbc19dd224.tar.gz redmine-387836f8aa736eba4dfe0da879ad71bbc19dd224.zip |
Fixed that settings raises an error if not trackers exist (#11467).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10067 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/settings_controller_test.rb')
-rw-r--r-- | test/functional/settings_controller_test.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/functional/settings_controller_test.rb b/test/functional/settings_controller_test.rb index deddabea5..034b902d0 100644 --- a/test/functional/settings_controller_test.rb +++ b/test/functional/settings_controller_test.rb @@ -66,6 +66,13 @@ class SettingsControllerTest < ActionController::TestCase end end + def test_get_edit_without_trackers_should_succeed + Tracker.delete_all + + get :edit + assert_response :success + end + def test_post_edit_notifications post :edit, :settings => {:mail_from => 'functional@test.foo', :bcc_recipients => '0', |