Sha256: d21b4f5c2ddf6fad3e029911322be12a2a42f4eb04b0bd09041a02b6477a07d2

Contents?: true

Size: 565 Bytes

Versions: 2

Compression:

Stored size: 565 Bytes

Contents

Given /^the generic project "(.*?)" doesn't exist$/ do |file|
  FileUtils.rm(file) if File.exist?(file)
end

Given /^the hello world rails project does exist$/ do
  system("rm -rf /tmp/hello_world_3.2.13")
  system("cp -a ./spec/support/hello_world_3.2.13 /tmp")
end

Given /^a safe sinatra application exists$/ do
  system("rm -rf /tmp/sinatra-safe")
  system("cp -a ./spec/support/sinatra-safe /tmp")
end

Given /^a vulnerable sinatra application exists$/ do
  system("rm -rf /tmp/sinatra-vulnerable")
  system("cp -a ./spec/support/sinatra-vulnerable /tmp")
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dawnscanner-2.2.0 features/step_definition/dawn_steps.rb
dawnscanner-2.1.1 features/step_definition/dawn_steps.rb