Sha256: dba33e8245c5532a744b020b13b190eff2126cf05739b5c28ca9ac81881ab92c
Contents?: true
Size: 608 Bytes
Versions: 4
Compression:
Stored size: 608 Bytes
Contents
When /I run rake with (.+)/ do |command| @rake_command = "rake #{command.gsub(' ','_')}" @rake_result = `cd features/support/rake && GEM_HOME=#{BUILT_GEM_ROOT} #{@rake_command} 2>&1` end Then /ProjectlockerErrata should (|not) ?catch the exception/ do |condition| if condition=='not' @rake_result.should_not =~ /^projectlocker_errata/ else @rake_result.should =~ /^projectlocker_errata/ end end Then /ProjectlockerErrata should send the rake command line as the component name/ do component = @rake_result.match(/^projectlocker_errata (.*)$/)[1] component.should == @rake_command end
Version data entries
4 entries across 4 versions & 1 rubygems