Permalink
Browse files

Fixes the 'has_content?' mission problem.

  • Loading branch information...
1 parent b0abeed commit 0fa53cdd565c80d33a693daec06dddabee68c890 @jyurek jyurek committed Jan 20, 2011
Showing with 8 additions and 0 deletions.
  1. +2 −0 features/support/matchers.rb
  2. +6 −0 features/support/terminal.rb
@@ -31,3 +31,5 @@
end
end
end
+
+World(Spec::Matchers)
@@ -4,6 +4,12 @@
@terminal = Terminal.new
end
+After do |story|
+ if story.failed?
+ # puts @terminal.output
+ end
+end
+
class Terminal
attr_reader :output, :status
attr_accessor :environment_variables, :invoke_heroku_rake_tasks_locally

0 comments on commit 0fa53cd

Please sign in to comment.