Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
~/dev/opensource/rbx vmdoc$ ./bin/mspec -t ruby spec/ruby/1.8/library/rexml/ ruby 1.8.6 (2008-03-03 patchlevel 114) [i686-darwin9.2.2] .......................................FE..................... 1) REXML::Document#write returns document indented FAILED Expected "<Springfield>\n <EvergreenTerrace>\n <House742/>\n </EvergreenTerrace>\n</Springfield>" to equal " <Springfield>\n <EvergreenTerrace>\n <House742/>\n </EvergreenTerrace>\n </Springfield>" ./mspec/expectations.rb:10:in `fail_with' ./mspec/matchers/base.rb:8:in `==' ./spec/ruby/1.8/library/rexml//document/write_spec.rb:22 ./mspec/runner/mspec.rb:112:in `call' ./mspec/runner/mspec.rb:112:in `protect' ./mspec/runner/state.rb:46:in `protect' ./mspec/runner/state.rb:46:in `each' ./mspec/runner/state.rb:46:in `protect' ./mspec/runner/state.rb:60:in `process' ./mspec/runner/state.rb:56:in `each' ./mspec/runner/state.rb:56:in `process' ./mspec/runner/mspec.rb:19:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8/library/rexml//document/write_spec.rb:5 ./mspec/runner/mspec.rb:37:in `load' ./mspec/runner/mspec.rb:37:in `files' ./mspec/runner/mspec.rb:112:in `call' ./mspec/runner/mspec.rb:112:in `protect' ./mspec/runner/mspec.rb:37:in `files' ./mspec/runner/mspec.rb:34:in `each' ./mspec/runner/mspec.rb:34:in `files' ./mspec/runner/mspec.rb:26:in `process' mspec/bin/mspec-run:68 2) REXML::Document#write returns document with transitive support ERROR uninitialized constant REXML::Formatters::Transitive /opt/local//lib/ruby/1.8/rexml/document.rb:188:in `write' ./spec/ruby/1.8/library/rexml//document/write_spec.rb:26 ./mspec/runner/mspec.rb:112:in `call' ./mspec/runner/mspec.rb:112:in `protect' ./mspec/runner/state.rb:46:in `protect' ./mspec/runner/state.rb:46:in `each' ./mspec/runner/state.rb:46:in `protect' ./mspec/runner/state.rb:60:in `process' ./mspec/runner/state.rb:56:in `each' ./mspec/runner/state.rb:56:in `process' ./mspec/runner/mspec.rb:19:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8/library/rexml//document/write_spec.rb:5 ./mspec/runner/mspec.rb:37:in `load' ./mspec/runner/mspec.rb:37:in `files' ./mspec/runner/mspec.rb:112:in `call' ./mspec/runner/mspec.rb:112:in `protect' ./mspec/runner/mspec.rb:37:in `files' ./mspec/runner/mspec.rb:34:in `each' ./mspec/runner/mspec.rb:34:in `files' ./mspec/runner/mspec.rb:26:in `process' mspec/bin/mspec-run:68 Finished in 0.089311 seconds
This paste will be private.
From the Design Piracy series on my blog: