Upgraded Rails and RSpec
[monkeycharger.git] / vendor / plugins / rspec / lib / spec / runner / formatter / failing_behaviours_formatter.rb
blob1892c4b64f5dd6ff70bf2e2557dea252668879b0
1 module Spec
2   module Runner
3     module Formatter
4       class FailingBehavioursFormatter < BaseTextFormatter      
5         def add_behaviour(behaviour_name)
6           @behaviour_name = behaviour_name
7         end
8       
9         def example_failed(name, counter, failure)
10           unless @behaviour_name.nil?
11             @output.puts @behaviour_name 
12             @behaviour_name = nil
13             @output.flush
14           end
15         end
17         def dump_failure(counter, failure)
18         end
20         def dump_summary(duration, example_count, failure_count, not_implemented_count)
21         end
22       end
23     end
24   end
25 end