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

Version Path
honeybadger-1.16.7 features/step_definitions/rake_steps.rb
honeybadger-1.16.6 features/step_definitions/rake_steps.rb
honeybadger-1.16.5 features/step_definitions/rake_steps.rb
honeybadger-1.16.4 features/step_definitions/rake_steps.rb
honeybadger-1.16.3 features/step_definitions/rake_steps.rb
honeybadger-1.16.2 features/step_definitions/rake_steps.rb
honeybadger-1.16.1 features/step_definitions/rake_steps.rb
honeybadger-1.16.0 features/step_definitions/rake_steps.rb
honeybadger-1.15.3 features/step_definitions/rake_steps.rb
honeybadger-1.15.2 features/step_definitions/rake_steps.rb
honeybadger-1.15.1 features/step_definitions/rake_steps.rb
honeybadger-1.15.0 features/step_definitions/rake_steps.rb
honeybadger-1.14.0 features/step_definitions/rake_steps.rb
honeybadger-1.13.2 features/step_definitions/rake_steps.rb
honeybadger-1.13.1 features/step_definitions/rake_steps.rb
honeybadger-1.13.0 features/step_definitions/rake_steps.rb
honeybadger-1.12.0.beta3 features/step_definitions/rake_steps.rb
honeybadger-1.12.0.beta2 features/step_definitions/rake_steps.rb
honeybadger-1.11.2 features/step_definitions/rake_steps.rb
honeybadger-1.11.1 features/step_definitions/rake_steps.rb