GitLab steht wegen Wartungsarbeiten am Montag, den 10. Mai, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Commit 4408ae73 authored by marutosijp's avatar marutosijp

remove trailing white-spaces from test/unit/setting_test.rb


git-svn-id: https://svn.redmine.org/redmine/trunk@12252 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent bfc18442
......@@ -46,16 +46,16 @@ class SettingTest < ActiveSupport::TestCase
assert_equal ['issue_added', 'issue_updated', 'news_added'], Setting.notified_events
assert_equal ['issue_added', 'issue_updated', 'news_added'], Setting.find_by_name('notified_events').value
end
def test_setting_should_be_reloaded_after_clear_cache
Setting.app_title = "My title"
assert_equal "My title", Setting.app_title
s = Setting.find_by_name("app_title")
s.value = 'New title'
s.save!
assert_equal "My title", Setting.app_title
Setting.clear_cache
assert_equal "New title", Setting.app_title
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment