Project

chicago

0.01
No commit activity in last 3 years
No release in over 3 years
Sinatra testing extensions used commonly by Thumblemonks.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Chicago

It's my kind of town!
- Sinatra

Yeah, we're real clever. We're also from "The city in mid-west best city in the whole wide wide world" ... which makes us double the clever.

Chicago is a collection of test extensions and helpers that makes some common tasks in Sinatra a little bit easier.

Installation

Installing chicago is a quick gem install:

gem install chicago

Usage

Sinatra testing

If you're using Riot in your tests of your Sinatra app, do this:

require 'chicago/riot'

... and you'll get a bunch of cool Riot macros for testing specific Sinatra stuff:

  • asserts_response
  • asserts_response_status
  • asserts_content_type
  • asserts_response_body
  • asserts_location
  • asserts_json_response
  • asserts_redirected_to