diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-11-09 12:48:19 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-11-09 12:48:19 +0000 |
commit | 979d3400ab2ef026f426801718056d7a77049265 (patch) | |
tree | 323b6b18ef0a76b96d852e3be8478ede813cdfe5 | |
parent | bff12254acf053d33b6cbcdcfea7c00da7c21f99 (diff) | |
download | redmine-979d3400ab2ef026f426801718056d7a77049265.tar.gz redmine-979d3400ab2ef026f426801718056d7a77049265.zip |
remove trailing white-spaces from test/unit/setting_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@12252 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/unit/setting_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/setting_test.rb b/test/unit/setting_test.rb index d8e6eb441..fa0a6192c 100644 --- a/test/unit/setting_test.rb +++ b/test/unit/setting_test.rb @@ -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 |