projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
15306: Adds integration tests with query string & form encoded params.
[arvados.git]
/
services
/
api
/
test
/
unit
/
repository_test.rb
diff --git
a/services/api/test/unit/repository_test.rb
b/services/api/test/unit/repository_test.rb
index fa4c37f74f211b6afe5d0b90804e9b2c85ce97c5..cb562ef977200740e3d116889dad9ed1b9f55cb8 100644
(file)
--- a/
services/api/test/unit/repository_test.rb
+++ b/
services/api/test/unit/repository_test.rb
@@
-23,15
+23,15
@@
class RepositoryTest < ActiveSupport::TestCase
def default_git_url(repo_name, user_name=nil)
if user_name
"git@git.%s.arvadosapi.com:%s/%s.git" %
def default_git_url(repo_name, user_name=nil)
if user_name
"git@git.%s.arvadosapi.com:%s/%s.git" %
- [Rails.configuration.
uuid_prefix
, user_name, repo_name]
+ [Rails.configuration.
ClusterID
, user_name, repo_name]
else
"git@git.%s.arvadosapi.com:%s.git" %
else
"git@git.%s.arvadosapi.com:%s.git" %
- [Rails.configuration.
uuid_prefix
, repo_name]
+ [Rails.configuration.
ClusterID
, repo_name]
end
end
def assert_server_path(path_tail, repo_sym)
end
end
def assert_server_path(path_tail, repo_sym)
- assert_equal(File.join(Rails.configuration.
git_repositories_dir
, path_tail),
+ assert_equal(File.join(Rails.configuration.
Git.Repositories
, path_tail),
repositories(repo_sym).server_path)
end
repositories(repo_sym).server_path)
end