obfuscurity/backstop — pull request #1 by gorsuch (2012-08-28 21:18:47+00:00)
Title: Initial specs

Yo! The following adds some basic specs to `backstop` w/o changing much in terms of existing code. I have abstracted the direct calls to `TCPSocket` into a separate class called `Publisher`.

Writing these tests helped expose the fact that each one of these paths really needs to be delegated to its own code path outside of web. I can start hacking on that if this gets accepted.

Run tests w/ `bundle exec rspec`.