Sha256: a3e4af4b53ccc2c5d2e80115f4231aea7a3c3dbfae157aab89f7e6b587bd4e88
Contents?: true
Size: 746 Bytes
Versions: 1
Compression:
Stored size: 746 Bytes
Contents
require 'fileutils' Given /^an empty app$/ do step %Q{a directory named "empty_app"} step %Q{I cd to "empty_app"} end Given /^a fixture app "([^\"]*)"$/ do |path| # This step can be reentered from several places but we don't want # to keep re-copying and re-cd-ing into ever-deeper directories next if File.basename(current_dir) == path step %Q{a directory named "#{path}"} target_path = File.join(PROJECT_ROOT_PATH, "fixtures", path) FileUtils.cp_r(target_path, current_dir) step %Q{I cd to "#{path}"} end # Provide this Aruba overload in case we're matching something with quotes in it Then /^the file "([^"]*)" should contain '([^']*)'$/ do |file, partial_content| check_file_content(file, partial_content, true) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
roxie-0.0.2 | features/step_definitions/generator_steps.rb |