Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simpe Demo of Testing Sinatra Web app using rspec
branch: master

This branch is 2 commits ahead, 5 commits behind morganp:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
db
spec
.gitignore
README.md
myapp.rb

README.md

Testing Sinatra with RSpec

Requiremnts for this are Sinatra, Rspec and rack-test

gem install sinatra rspec rack-test

from here you can run:

ruby myapp.rb

Then visit 127.0.0.1:4567

To run the test suite

cd ./spec
rspec myapp_spec.rb

Further Info

Source
RSpec
Sinatra-testing

Something went wrong with that request. Please try again.