Skip to content

Instantly share code, notes, and snippets.

@artemk
Created April 22, 2011 14:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save artemk/936827 to your computer and use it in GitHub Desktop.
Save artemk/936827 to your computer and use it in GitHub Desktop.
And the output should contain: # aruba-0.3.6/lib/aruba/cucumber.rb:89
"""
exec_rule `haml` for language haml not exists. Skip
"""
expected "Initialized empty Git repository in /Volumes/work/syn/code/tmp/aruba/.git/\n[master (root-commit) a444613] first commit\n 0 files changed, 0 insertions(+), 0 deletions(-)\n create mode 100644 readme\n.E.\n\n/Volumes/work/syn/code/tmp/aruba/subdir/wrong.rb\nErrors:\n\t /Volumes/work/syn/code/tmp/aruba/subdir/wrong.rb:1: syntax error, unexpected keyword_end, expecting $end\n\t c A; end\n\t ^\n" to include "exec_rule `haml` for language haml not exists. Skip"
Diff:
@@ -1,2 +1,12 @@
-exec_rule `haml` for language haml not exists. Skip
+Initialized empty Git repository in /Volumes/work/syn/code/tmp/aruba/.git/
+[master (root-commit) a444613] first commit
+ 0 files changed, 0 insertions(+), 0 deletions(-)
+ create mode 100644 readme
+.E.
+
+/Volumes/work/syn/code/tmp/aruba/subdir/wrong.rb
+Errors:
+ /Volumes/work/syn/code/tmp/aruba/subdir/wrong.rb:1: syntax error, unexpected keyword_end, expecting $end
+ c A; end
+ ^
(RSpec::Expectations::ExpectationNotMetError)
features/printer_check.feature:67:in `And the output should contain:'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment