Sha256: 6f10c429ede1107f4a4ce8ebb81a943ddb36c73e77e97bce9372ca3117dffed8
Contents?: true
Size: 827 Bytes
Versions: 4
Compression:
Stored size: 827 Bytes
Contents
Given /a setup\.rb compliant Ruby project$/ do FileUtils.rm_r(FAUXDIR) if FAUXDIR.exist? FileUtils.mkdir_p(FAUXDIR) FileUtils.cp_r(FIXTURE, FAUXDIR) dir = FAUXDIR + FIXTURE.basename Dir.chdir(dir) end Given /the project does NOT have extensions$/ do dir = FAUXDIR + FIXTURE.basename dir = File.join(dir, 'ext') FileUtils.rm_r(dir) $setup_no_extensions = true end #Given /^'setup\.rb (.*?)' has been run$/ do |cmd| # argv = cmd.split(/\s+/) # Setup::Command.run(*argv) #end #When /^I issue the command 'setup.rb (.*?)'$/ do |cmd| # argv = cmd.split(/\s+/) # Setup::Command.run(*argv) #end #When /^I issue the command 'setup.rb (.*?)' unprepared$/ do |cmd| # begin # argv = cmd.split(/\s+/) # Setup::Command.run(*argv) # rescue SystemExit => error # $setup_feature_error = error # end #end
Version data entries
4 entries across 4 versions & 1 rubygems