Skip to content

Instantly share code, notes, and snippets.

@paulv
Created July 2, 2012 06:32
Show Gist options
  • Save paulv/3031452 to your computer and use it in GitHub Desktop.
Save paulv/3031452 to your computer and use it in GitHub Desktop.
Sudo
looks like sudo: test 1
looks like sudo: test 1
Failures:
1) Sudo looks like sudo: test 1
Failure/Error: Given(:sudo) { Sudo.new(bot_with_fatal_logger) }
NameError:
uninitialized constant Sudo::YAML
# /home/paulv/files/src/ruby/marvin/plugins/sudo.rb:14:in `initialize'
# ./sudo_spec.rb:13:in `new'
# ./sudo_spec.rb:13:in `block (3 levels) in <top (required)>'
# ./sudo_spec.rb:14:in `block (3 levels) in <top (required)>'
2) Sudo looks like sudo: test 1
Failure/Error: Given(:sudo) { Sudo.new(bot_with_fatal_logger) }
NameError:
uninitialized constant Sudo::YAML
# /home/paulv/files/src/ruby/marvin/plugins/sudo.rb:14:in `initialize'
# ./sudo_spec.rb:13:in `new'
# ./sudo_spec.rb:13:in `block (3 levels) in <top (required)>'
# ./sudo_spec.rb:14:in `block (3 levels) in <top (required)>'
3) Sudo looks like sudo: test 1
Failure/Error: Given(:sudo) { Sudo.new(bot_with_fatal_logger) }
NameError:
uninitialized constant Sudo::YAML
# /home/paulv/files/src/ruby/marvin/plugins/sudo.rb:14:in `initialize'
# ./sudo_spec.rb:13:in `new'
# ./sudo_spec.rb:13:in `block (3 levels) in <top (required)>'
# ./sudo_spec.rb:14:in `block (3 levels) in <top (required)>'
Finished in 0.00348 seconds
3 examples, 3 failures
Failed examples:
rspec ./sudo_spec.rb:15 # Sudo looks like sudo: test 1
rspec ./sudo_spec.rb:15 # Sudo looks like sudo: test 1
rspec ./sudo_spec.rb:15 # Sudo looks like sudo: test 1
/home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/formatters/documentation_formatter.rb:41:in `failure_output': undefined method `strip' for nil:NilClass (NoMethodError)
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/formatters/documentation_formatter.rb:37:in `example_failed'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/reporter.rb:98:in `block in notify'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/reporter.rb:97:in `each'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/reporter.rb:97:in `notify'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/reporter.rb:68:in `example_failed'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/example.rb:193:in `finish'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/example.rb:166:in `fail_with_exception'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/example_group.rb:363:in `block in fail_filtered_examples'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/example_group.rb:363:in `each'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/example_group.rb:363:in `fail_filtered_examples'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/example_group.rb:367:in `block in fail_filtered_examples'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/example_group.rb:365:in `each'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/example_group.rb:365:in `fail_filtered_examples'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/example_group.rb:341:in `rescue in run'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/example_group.rb:346:in `run'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/command_line.rb:28:in `map'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/command_line.rb:28:in `block in run'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/reporter.rb:34:in `report'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/command_line.rb:25:in `run'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/runner.rb:69:in `run'
from /home/paulv/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.9.0/lib/rspec/core/runner.rb:10:in `block in autorun'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment