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