13996: Update tests for cleaner config access
[arvados.git] / services / api / test / unit / repository_test.rb
index 2f6235029139f506a560f6b9bd8685828b3a903c..cb562ef977200740e3d116889dad9ed1b9f55cb8 100644 (file)
@@ -31,7 +31,7 @@ class RepositoryTest < ActiveSupport::TestCase
   end
 
   def assert_server_path(path_tail, repo_sym)
-    assert_equal(File.join(Rails.configuration.Git["Repositories"], path_tail),
+    assert_equal(File.join(Rails.configuration.Git.Repositories, path_tail),
                  repositories(repo_sym).server_path)
   end