Skip to content

Commit

Permalink
Add vim messages to cucumber test failure errors
Browse files Browse the repository at this point in the history
  • Loading branch information
joonty committed Jan 20, 2014
1 parent 7723c2d commit 32672ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions features/step_definitions/debugger_command_steps.rb
@@ -1,9 +1,9 @@
When "I step over" do
vdebug.step_over
vdebug.running?.should be(true), 'Vdebug is not running'
vdebug.running?.should be(true), "Vdebug is not running: #{vdebug.messages}"
end

When "I step in" do
vdebug.step_in
vdebug.running?.should be(true), 'Vdebug is not running'
vdebug.running?.should be(true), "Vdebug is not running: #{vdebug.messages}"
end
2 changes: 1 addition & 1 deletion features/step_definitions/evaluate_steps.rb
@@ -1,4 +1,4 @@
When "I evaluate $expression" do |expr|
vdebug.evaluate expr
vdebug.running?.should be(true), 'Vdebug is not running'
vdebug.running?.should be(true), "Vdebug is not running: #{vdebug.messages}"
end
2 changes: 1 addition & 1 deletion features/step_definitions/php_steps.rb
Expand Up @@ -2,5 +2,5 @@
vdebug.start_listening
full_script_path = Dir.getwd + "/" + script
run_php_script full_script_path
vdebug.running?.should be(true), 'Vdebug is not running'
vdebug.running?.should be(true), "Vdebug is not running: #{vdebug.messages}"
end

0 comments on commit 32672ab

Please sign in to comment.