Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
1) Mocha::ExpectationError in 'Puppet::Type::Selboolean::ProviderGetsetsebool should call execpipe when updating boolean setting' #<Mock:0x23487b0>.execpipe(' foo off') - expected calls: 0, actual calls: 1 Similar expectations: #<Mock:0x23487b0>.execpipe('/usr/sbin/setsebool foo off') (eval):1:in `execpipe' /Users/luke/git/puppet/spec/../lib/puppet/provider/selboolean/getsetsebool.rb:39:in `execoutput' /Users/luke/git/puppet/spec/../lib/puppet/provider/selboolean/getsetsebool.rb:28:in `value=' ./spec/unit/provider/selboolean.rb:26: /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:19:in `run' /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run' 2) Mocha::ExpectationError in 'Puppet::Type::Selboolean::ProviderGetsetsebool should call execpipe with -P when updating persistent boolean setting' #<Mock:0x23323e8>.execpipe(' -P foo off') - expected calls: 0, actual calls: 1 Similar expectations: #<Mock:0x23323e8>.execpipe('/usr/sbin/setsebool -P foo off') (eval):1:in `execpipe' /Users/luke/git/puppet/spec/../lib/puppet/provider/selboolean/getsetsebool.rb:39:in `execoutput' /Users/luke/git/puppet/spec/../lib/puppet/provider/selboolean/getsetsebool.rb:28:in `value=' ./spec/unit/provider/selboolean.rb:32: /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:19:in `run' /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run' 3) Puppet::DevError in 'Puppet::Type::Selboolean when validating values should support :on as a value to :value' Could not find a default provider for selboolean /Users/luke/git/puppet/lib/puppet/type.rb:1737:in `defaultprovider' ./spec/unit/type/selboolean.rb:19: /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:19:in `run' /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run' 4) Puppet::DevError in 'Puppet::Type::Selboolean when validating values should support :off as a value to :value' Could not find a default provider for selboolean /Users/luke/git/puppet/lib/puppet/type.rb:1737:in `defaultprovider' ./spec/unit/type/selboolean.rb:19: /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:19:in `run' /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run' 5) Puppet::DevError in 'Puppet::Type::Selboolean when validating values should support :true as a value to :persistent' Could not find a default provider for selboolean /Users/luke/git/puppet/lib/puppet/type.rb:1737:in `defaultprovider' ./spec/unit/type/selboolean.rb:19: /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:19:in `run' /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run' 6) Puppet::DevError in 'Puppet::Type::Selboolean when validating values should support :false as a value to :persistent' Could not find a default provider for selboolean /Users/luke/git/puppet/lib/puppet/type.rb:1737:in `defaultprovider' ./spec/unit/type/selboolean.rb:19: /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:19:in `run' /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run' 7) Mocha::ExpectationError in 'Puppet::Type::Selmodule::ProviderSemodule exists? method should find a module if it is already loaded' #<Mock:0x1fe9ed4>.execpipe(' --list') - expected calls: 0, actual calls: 1 Similar expectations: #<Mock:0x1fe9ed4>.execpipe('/usr/sbin/semodule --list') (eval):1:in `execpipe' /Users/luke/git/puppet/spec/../lib/puppet/provider/selmodule/semodule.rb:25:in `exists?' ./spec/unit/provider/selmodule.rb:22: /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:19:in `run' /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run' 8) Mocha::ExpectationError in 'Puppet::Type::Selmodule::ProviderSemodule exists? method should return nil if not loaded' #<Mock:0x1fd4c14>.execpipe(' --list') - expected calls: 0, actual calls: 1 Similar expectations: #<Mock:0x1fd4c14>.execpipe('/usr/sbin/semodule --list') (eval):1:in `execpipe' /Users/luke/git/puppet/spec/../lib/puppet/provider/selmodule/semodule.rb:25:in `exists?' ./spec/unit/provider/selmodule.rb:27: /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:19:in `run' /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run' 9) Mocha::ExpectationError in 'Puppet::Type::Selmodule::ProviderSemodule exists? method should return nil if no modules are loaded' #<Mock:0x1fcac00>.execpipe(' --list') - expected calls: 0, actual calls: 1 Similar expectations: #<Mock:0x1fcac00>.execpipe('/usr/sbin/semodule --list') (eval):1:in `execpipe' /Users/luke/git/puppet/spec/../lib/puppet/provider/selmodule/semodule.rb:25:in `exists?' ./spec/unit/provider/selmodule.rb:32: /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:19:in `run' /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' /Users/luke/git/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run'
This paste will be private.
From the Design Piracy series on my blog: