Created
February 28, 2014 15:46
-
-
Save PragTob/9273336 to your computer and use it in GitHub Desktop.
Jruby-head shoes fialures
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failures: | |
1) Shoes::Logger::Log4j delegates to a Log4jruby::Logger instance | |
Failure/Error: subject.debug("Foo bar baz!") | |
ArgumentError: | |
not delegated | |
# ./lib/shoes/logger/log4j.rb:7:in `initialize' | |
# ./spec/shoes/logger/log4j_spec.rb:10:in `(root)' | |
2) Shoes::Logger::Ruby delegates to a Logger instance | |
Failure/Error: subject.debug("Foo bar baz!") | |
ArgumentError: | |
not delegated | |
# ./lib/shoes/logger/ruby.rb:7:in `initialize' | |
# ./spec/shoes/logger/ruby_spec.rb:7:in `(root)' | |
3) Shoes::Logger default logger is a ruby logger | |
Failure/Error: let(:logger) { Shoes.logger } | |
ArgumentError: | |
not delegated | |
# ./lib/shoes/logger/ruby.rb:7:in `initialize' | |
# ./lib/shoes/configuration.rb:80:in `logger_instance' | |
# ./lib/shoes.rb:23:in `logger' | |
# ./spec/shoes/logger_spec.rb:22:in `logger' | |
# ./spec/shoes/logger_spec.rb:25:in `(root)' | |
4) Shoes::Logger::Ruby logs messages with format 'LEVEL: Message' | |
Failure/Error: subject(:logger) { Shoes::Logger::Ruby.new logdevice } | |
ArgumentError: | |
not delegated | |
# ./lib/shoes/logger/ruby.rb:7:in `initialize' | |
# ./spec/shoes/logger_spec.rb:32:in `logger' | |
# ./spec/shoes/logger_spec.rb:35:in `(root)' | |
5) Shoes::Logger::Ruby defaults to STDERR | |
Failure/Error: logger = Shoes::Logger::Ruby.new | |
ArgumentError: | |
not delegated | |
# ./lib/shoes/logger/ruby.rb:7:in `initialize' | |
# ./spec/shoes/logger_spec.rb:41:in `(root)' | |
6) Shoes::Configuration#logger :ruby uses the Ruby logger | |
Failure/Error: Shoes.logger.instance_of?(Shoes::Logger::Ruby).should == true | |
ArgumentError: | |
not delegated | |
# ./lib/shoes/logger/ruby.rb:7:in `initialize' | |
# ./lib/shoes/configuration.rb:80:in `logger_instance' | |
# ./lib/shoes.rb:23:in `logger' | |
# ./spec/shoes/configuration_spec.rb:11:in `(root)' | |
7) Shoes::Configuration#logger :log4j uses Log4j | |
Failure/Error: Shoes.logger.instance_of?(Shoes::Logger::Log4j).should == true | |
ArgumentError: | |
not delegated | |
# ./lib/shoes/logger/log4j.rb:7:in `initialize' | |
# ./lib/shoes/configuration.rb:80:in `logger_instance' | |
# ./lib/shoes.rb:23:in `logger' | |
# ./spec/shoes/configuration_spec.rb:19:in `(root)' | |
Finished in 2.93 seconds | |
944 examples, 7 failures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment