Sha256: 2e15d5837f8f51cfdf302e1a78c3a9ca2b6088cccd01e1e55f2cc4f688409a80
Contents?: true
Size: 634 Bytes
Versions: 2
Compression:
Stored size: 634 Bytes
Contents
require 'pp' require_relative '../../lib/cukedep/file-action' copy_config = { save_patterns: [], save_subdir: '', delete_patterns: [], delete_subdir: '', copy_patterns: ['*.txt'], copy_subdir: '' } pp Dir.pwd instance = Cukedep::ActionTriplet.new(copy_config) path = 'C:/Ruby193/lib/ruby/site_ruby/Cukedep/spec/cukedep/' files_to_copy_dir = path + 'sample_features/files_to_copy' Dir.chdir(files_to_copy_dir) pp Dir.pwd proj_dir = path + 'dummy_project' instance.run!(Dir.getwd, proj_dir) # Check that the project dir contain the requested files Dir.chdir(proj_dir) pp Dir.pwd # TODO actuals = Dir['*.*'] pp actuals
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cukedep-0.2.01 | spec/cukedep/debug-file-action.rb |
cukedep-0.2.00 | spec/cukedep/debug-file-action.rb |