Sha256: 0306f3406be12f963e8c4c828f26f1cd1e614d9bd4c801e5017479e5d168fa53
Contents?: true
Size: 502 Bytes
Versions: 3
Compression:
Stored size: 502 Bytes
Contents
def applenium_template if File.exists?(@features_dir) puts "A features directory already exists. Stopping..." exit 1 end msg("Question") do puts "I'm about to create a subdirectory called features." puts "features will contain all your project tests." puts "Please hit return to confirm that's what you want." end exit 2 unless STDIN.gets.chomp == '' FileUtils.cp_r(@source_dir, @features_dir) msg("Info") do puts "features subdirectory created. \n" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
applenium-0.0.3 | bin/generate.rb |
applenium-0.0.2 | bin/generate.rb |
applenium-0.0.1 | bin/generate.rb |