Sha256: 28f7e5991691ec13af969179eaa852af43b9d004bc2dab8ca5be8e360daf5acf
Contents?: true
Size: 628 Bytes
Versions: 1
Compression:
Stored size: 628 Bytes
Contents
Given /a buildr project/ do switch_to_project('buildr') open("buildfile", 'w') do |f| f.write <<-RUBY $LOAD_PATH.unshift(File.join(#{root_path.inspect}, 'lib')) require 'shenandoah/buildr' define 'life' do test.using :shenandoah end RUBY end mkdir_p 'src/main/javascript' cp Dir["#{base_project}/lib/**/*"], 'src/main/javascript' mkdir_p 'src/spec/javascript' cp Dir["#{base_project}/spec/**/*"], 'src/spec/javascript' end When /^I list the available buildr tasks$/ do @tasks = `buildr help:tasks`.scan(/\n\s*(\S+)\s*#/).collect { |m| m.first } $?.should == 0 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shenandoah-0.2.0 | features/step_definitions/buildr_steps.rb |