No description provided.
Use a no-op logger in the spec suite. Addresses #175
hard to test on my side, but I assume this would let the tests run on windows.
Why is that hard to test? 'logger' is in the standard library.
No access to windows PC but I assume it'd work
You can run cygwin with wine i would guess.
I will test today and get back to you.
make that tomorrow
@rpag Did you have a chance to try this?
yup, confirm, test suite runs on Windows7 with this branch.
the failures seem to pop up in lib/webmachine/spec/adapter_lint.rb with Errno::EADDRNOTAVAIL on 0.0.0.0 (windows7). It also appears there is no platform guard on rspec, maybe I was thinking of rubinius's mspec. it looks like mongrel is skipped on a LoadError. I can look into the errors if you want, but otherwise windows at least boots the tests. the most frequent error comes from the system, with 'address not available in this context' as the exception message. the other error relates to a Server header not being set with webrick. excuse the typing, message sent from an iPad.
We might want to spawn the spec adapters on 127.0.0.1 instead (regardless of this issue).
yeah, ipconfig /all does not list 0.0.0.0 or 127.0.0.1 on my computer. a quick search on google suggests that may be the problem on my end.
127.0.0.1 is ping-able on my side, but my windows7 configuration is probably to blame for the failures. I won't have access to a better network for a few days.