8000 GitHub - jjhageman/rspec-http: RSpec HTTP is an extension library that makes it easier to write specs for HTTP/REST APIs
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jjhageman/rspec-http

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSpec HTTP

RSpec HTTP is a RSpec extension library that adds support for writing specs that cover HTTP based API (or more popularly, RESTful APIs).

To use this library, first add the rspec-http gem to your Gemfile like so:

gem 'rspec-http', '~> 0.0.1'

Then add the following line to your spec_helper.rb:

require 'rspec/http'

This will make matchers such as the ones listed below available to you in your specs.

response.should be_http_ok

response.should be_http_created

response.should be_http_unprocessable_entity

response.should be_http_im_a_teapot

About

RSpec HTTP is an extension library that makes it easier to write specs for HTTP/REST APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0