spec/support/test_repository.rb in gitlab-elasticsearch-git-0.0.13 vs spec/support/test_repository.rb in gitlab-elasticsearch-git-0.0.14
- old
+ new
@@ -1,9 +1,13 @@
class TestRepository
include Elasticsearch::Git::Repository
+ def initialize(id = 'test_1')
+ @repo_id = id
+ end
+
def repository_id
- 'test_1'
+ @repo_id
end
def path_to_repo
TEST_REPO_PATH
end