git_repository.rb revision 0404717d2bad53ac5922514e490a2b07361d58d8
be20a7ddf87cb56ee63016dd0029f0c523be09b6Timo Sirainen Rails.root.join('tmp', 'test', 'git_repository', n.to_s).to_s
f97cf1c086715db87094bc3d0a4fefdd80bd869cTimo Sirainen initialize_with { new(generate :git_repository_path) }
be20a7ddf87cb56ee63016dd0029f0c523be09b6Timo Sirainen factory :git_repository_with_moved_ontologies, class: GitRepository do |git_repository|
be20a7ddf87cb56ee63016dd0029f0c523be09b6Timo Sirainen root_path = File.expand_path('../../../', __FILE__)
f97cf1c086715db87094bc3d0a4fefdd80bd869cTimo Sirainen fixture_path = File.join(root_path, 'test/fixtures/ontologies/clif/')
9698cd24356147d8a5471260062ea7e10e692fdfAki Tuomi exec_silently = ->(cmd) { Subprocess.run('bash', '-c', cmd) }