Sha256: 33e2556d1d5c5ab0cb0fe0b8f634c56b4559056c2df010a21528aaccd444f37e

Contents?: true

Size: 565 Bytes

Versions: 6

Compression:

Stored size: 565 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 /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

6 entries across 6 versions & 1 rubygems

Version Path
honeybadger-1.3.1 features/step_definitions/rake_steps.rb
honeybadger-1.3.0 features/step_definitions/rake_steps.rb
honeybadger-1.2.1 features/step_definitions/rake_steps.rb
honeybadger-1.2.0 features/step_definitions/rake_steps.rb
honeybadger-1.1.0 features/step_definitions/rake_steps.rb
honeybadger-1.0.0 features/step_definitions/rake_steps.rb