diff options
Diffstat (limited to 'db/fixtures/test/001_repo.rb')
-rw-r--r-- | db/fixtures/test/001_repo.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/db/fixtures/test/001_repo.rb b/db/fixtures/test/001_repo.rb new file mode 100644 index 00000000000..034596f1cbf --- /dev/null +++ b/db/fixtures/test/001_repo.rb @@ -0,0 +1,8 @@ +# Clone repo +`cp spec/seed_project.tar.gz /tmp/` +Dir.chdir("/tmp") +`tar -xf seed_project.tar.gz` +3.times do |i| +`cp -r /tmp/legit/ /tmp/legit_#{i}/` +puts "Unpacked seed repo - /tmp/legit_#{i}" +end |