I should explain I'm running the tests from textmate.
So for those interested in doing the same I changed the "Run Examples"
command in the RSpec bundle to:
#!/usr/bin/env ruby
require ENV['TM_BUNDLE_SUPPORT'] + "/lib/spec/mate"
require 'spec/runner/formatter/html_formatter'
module Spec::Runner::Formatter
class TextMateFormatter < HtmlFormatter
# hide passes
def example_passed(*args); end
end
end
Spec::Mate::Runner.new.run_file STDOUT
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users