RSpec extension for HTTP request