Sha256: 1d82b46b1db4a960f5f1c9ddad7e530a785b6087cc71d2bc942cf81fdff5be8a
Contents?: true
Size: 767 Bytes
Versions: 2
Compression:
Stored size: 767 Bytes
Contents
require 'pathname' module FileWorld def bin_path File.expand_path(File.join(File.dirname(__FILE__), "..", "..")) end def git_project_path f = File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "spec", "fixtures", "with_git")) Pathname.new(f) end def hooks_path(type) path = git_project_path.join(".git", "hooks", type) path end def hook_config_file_path git_project_path.join('hoogfile.yml') end end World(FileWorld)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
captain_hoog-1.0.2 | features/support/world.rb |
captain_hoog-1.0.1 | features/support/world.rb |