Sha256: 8563a0e86b01e4ad2eee745771b8117f2e344ce2ff18fedb0e172ad2ab56cb4e

Contents?: true

Size: 541 Bytes

Versions: 3

Compression:

Stored size: 541 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$/
  Then %|a file named "#{path}/objects/info/packs" should exist|
end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
git-gc-cron-0.0.3 features/step_definitions/repos.rb
git-gc-cron-0.0.2 features/step_definitions/repos.rb
git-gc-cron-0.0.1 features/step_definitions/repos.rb