Leveraging RSpec metadata to control how specs are run with examples for altering database mode and toggling behavior based on spec directory
RSpec
Articles on rossta.net
Learn how to use RSpec metadata to add declarative ways to toggle features like Rails caching during test runs
Test an eventmachine server-client socket connection with rspec