summaryrefslogtreecommitdiffstats
path: root/test/unit/lib/redmine/configuration_test.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-02-19 11:03:10 +0000
committerGo MAEDA <maeda@farend.jp>2019-02-19 11:03:10 +0000
commit55093588859efd7aa67cce58e65a2ab34d342676 (patch)
tree43481fe1407255c2c2537524484c5e5b1d9d1a06 /test/unit/lib/redmine/configuration_test.rb
parent7d03c9c6ed83d87e81da6d4a92d603261b7e78e5 (diff)
downloadredmine-55093588859efd7aa67cce58e65a2ab34d342676.tar.gz
redmine-55093588859efd7aa67cce58e65a2ab34d342676.zip
"rake db:fixtures:load" does not work (#30811).
Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@17889 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/lib/redmine/configuration_test.rb')
-rw-r--r--test/unit/lib/redmine/configuration_test.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/unit/lib/redmine/configuration_test.rb b/test/unit/lib/redmine/configuration_test.rb
index 896f4f1ce..ca879c0ca 100644
--- a/test/unit/lib/redmine/configuration_test.rb
+++ b/test/unit/lib/redmine/configuration_test.rb
@@ -23,26 +23,26 @@ class Redmine::ConfigurationTest < ActiveSupport::TestCase
end
def test_empty
- assert_kind_of Hash, load_conf('empty.yml', 'test')
+ assert_kind_of Hash, load_conf('empty.yml.example', 'test')
end
def test_default
- assert_kind_of Hash, load_conf('default.yml', 'test')
+ assert_kind_of Hash, load_conf('default.yml.example', 'test')
assert_equal 'foo', @conf['somesetting']
end
def test_no_default
- assert_kind_of Hash, load_conf('no_default.yml', 'test')
+ assert_kind_of Hash, load_conf('no_default.yml.example', 'test')
assert_equal 'foo', @conf['somesetting']
end
def test_overrides
- assert_kind_of Hash, load_conf('overrides.yml', 'test')
+ assert_kind_of Hash, load_conf('overrides.yml.example', 'test')
assert_equal 'bar', @conf['somesetting']
end
def test_with
- load_conf('default.yml', 'test')
+ load_conf('default.yml.example', 'test')
assert_equal 'foo', @conf['somesetting']
@conf.with 'somesetting' => 'bar' do
assert_equal 'bar', @conf['somesetting']