Watson1978
12/22/2010 - 4:09 AM

gistfile1.txt

$ rake spec:library
(in /Users/watson/src/MacRuby)
rm -rf rubyspec_temp
./mspec/bin/mspec ci -B ./spec/macruby.mspec  :library
MacRuby 0.9 (ruby 1.9.2) [universal-darwin10.0, x86_64]
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E........................................................................................................................................................................................................................................................................................................................................................................................................................E..........................................................................................................................................................................................................................................................................................................................................................................................................

1)
Net::HTTP#request when passed request_object makes a HTTP Request based on the passed request_object ERROR
Errno::EPIPE: Broken pipe - write() failed
/Users/watson/src/MacRuby/spec/frozen/library/net/http/http/request_spec.rb:32:in `block'
/Users/watson/src/MacRuby/spec/frozen/library/net/http/http/request_spec.rb:5:in `<main>'

2)
Net::HTTP#request when passed request_object and request_body sends the passed request_body when making the HTTP Request FAILED
Expected "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">\n<HTML>\n  <HEAD><TITLE>Internal Server Error</TITLE></HEAD>\n  <BODY>\n    <H1>Internal Server Error</H1>\n    Resource temporarily unavailable - read() failed\n    <HR>\n    <ADDRESS>\n     WEBrick/1.3.1 (Ruby/1.9.2/2008-06-03) at\n     localhost:3333\n    </ADDRESS>\n  </BODY>\n</HTML>\n"
to equal "test=test"
/Users/watson/src/MacRuby/spec/frozen/library/net/http/http/request_spec.rb:74:in `block'
/Users/watson/src/MacRuby/spec/frozen/library/net/http/http/request_spec.rb:5:in `<main>'

3)
Singleton.instance returns an instance of the singleton's clone ERROR
TypeError: already initialized class
/Users/watson/src/MacRuby/lib/singleton.rb:83:in `clone'
/Users/watson/src/MacRuby/spec/frozen/library/singleton/instance_spec.rb:22:in `block'
/Users/watson/src/MacRuby/spec/frozen/library/singleton/instance_spec.rb:4:in `<main>'

4)
Singleton.instance returns the same instance for multiple class to instance on clones ERROR
TypeError: already initialized class
/Users/watson/src/MacRuby/lib/singleton.rb:83:in `clone'
/Users/watson/src/MacRuby/spec/frozen/library/singleton/instance_spec.rb:27:in `block'
/Users/watson/src/MacRuby/spec/frozen/library/singleton/instance_spec.rb:4:in `<main>'

Finished in 92.553286 seconds

1440 files, 3282 examples, 14036 expectations, 1 failure, 3 errors
rake aborted!
Command failed with status (1): [./mspec/bin/mspec ci -B ./spec/macruby.msp...]

(See full trace by running task with --trace)