summaryrefslogtreecommitdiffstats
path: root/test/functional/settings_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/settings_controller_test.rb')
-rw-r--r--test/functional/settings_controller_test.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/settings_controller_test.rb b/test/functional/settings_controller_test.rb
index 1e0c48f0e..f7ff2d16b 100644
--- a/test/functional/settings_controller_test.rb
+++ b/test/functional/settings_controller_test.rb
@@ -32,6 +32,12 @@ class SettingsControllerTest < ActionController::TestCase
@request.session[:user_id] = 1 # admin
end
+ def test_index
+ get :index
+ assert_response :success
+ assert_template 'edit'
+ end
+
def test_get_edit
get :edit
assert_response :success