Sha256: f84368c6f2c59bd8cd938282c1e8f598fa811918871b36261700164200ec4b65
Contents?: true
Size: 377 Bytes
Versions: 2
Compression:
Stored size: 377 Bytes
Contents
module TestEnv extend self def setup puts "Copying spec/fixtures/spec_repo.git into spec/fixtures/tmp.git" FileUtils.cp_r "spec/fixtures/spec_repo.git", "spec/fixtures/tmp.git" end def repo_path File.absolute_path("spec/fixtures/tmp.git") end def clean puts "\nRemoving spec/fixtures/tmp.git" FileUtils.rm_rf "spec/fixtures/tmp.git" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
blaggard-1.0.1 | spec/support/test_env.rb |
blaggard-1.0.0 | spec/support/test_env.rb |