Sha256: 90f2e686adb9794d0dd9a8cc65a4860fb1ed1c5a9e3dafe8db8c2649c579d54c

Contents?: true

Size: 545 Bytes

Versions: 1

Compression:

Stored size: 545 Bytes

Contents

Given(/^a checked out repo "([^"]*)"$/) do |path|
  dirs << path
  run "git init -q"
  dirs.pop
end

Given(/^a bare repo "([^"]*)"$/) do |path|
  dirs << path
  run "git init --bare -q"
  dirs.pop
end

Then(/^the repo "([^"]*)" should be packed$/) do |path|
  path << "/.git" unless path =~ /\.git$/
  step %|a file named "#{path}/objects/info/packs" should exist|
end

Then(/^the repo "([^"]*)" should not be packed$/) do |path|
  path << "/.git" unless path =~ /\.git$/
  step %|a file named "#{path}/objects/info/packs" should not exist|
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
git-gc-cron-0.0.4 features/step_definitions/repos.rb