Sha256: d32807add3603164cb18c980460bbb7faf03bc12f7a46bd8f79c89c973203131

Contents?: true

Size: 550 Bytes

Versions: 21

Compression:

Stored size: 550 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 /Airbrake should (|not) ?catch the exception/ do |condition|
  if condition=='not'
    @rake_result.should_not =~ /^airbrake/
  else
    @rake_result.should =~ /^airbrake/
  end
end

Then /Airbrake should send the rake command line as the component name/ do
  component = @rake_result.match(/^airbrake (.*)$/)[1]
  component.should == @rake_command
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
hydraulic_brake-0.1.0 features/step_definitions/rake_steps.rb
hydraulic_brake-0.0.0 features/step_definitions/rake_steps.rb
airbrake-3.1.6 features/step_definitions/rake_steps.rb
airbrake-3.1.5 features/step_definitions/rake_steps.rb
airbrake-3.1.4 features/step_definitions/rake_steps.rb
airbrake-3.1.3 features/step_definitions/rake_steps.rb
airbrake-3.1.2 features/step_definitions/rake_steps.rb
airbrake-3.1.1 features/step_definitions/rake_steps.rb
airbrake-3.1.0 features/step_definitions/rake_steps.rb
airbrake-3.0.9 features/step_definitions/rake_steps.rb
airbrake-3.0.8 features/step_definitions/rake_steps.rb
airbrake-3.0.7 features/step_definitions/rake_steps.rb
airbrake-3.0.6 features/step_definitions/rake_steps.rb
airbrake-3.0.5 features/step_definitions/rake_steps.rb
airbrake-3.0.4 features/step_definitions/rake_steps.rb
airbrake-3.0.3 features/step_definitions/rake_steps.rb
airbrake-3.0.2 features/step_definitions/rake_steps.rb
airbrake-3.0.1 features/step_definitions/rake_steps.rb
airbrake-3.0 features/step_definitions/rake_steps.rb
airbrake-3.0.rc2 features/step_definitions/rake_steps.rb