atmos / as_time_goes_by
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (1)
- Wiki (1)
- Graphs
-
Tree:
7a9fa48
as_time_goes_by / README.markdown
as_time_goes_by
This is an example sinatra app integrating with webrat. It's a good starting point for creating a sinatra/rspec/datamapper/webrat app.
Installation
% gem sources
*** CURRENT SOURCES ***
http://gems.rubyforge.org
% sudo gem sources -a http://gems.github.com
http://gems.github.com added to sources
% sudo gem install sinatra atmos-webrat json selenium-client do_sqlite3 dm-core
Testing
There are only acceptance tests here, but they're kinda cool.
You can easily run both console and selenium driven tests from the same spec.
There's also rcov coverage.
To just run the console based webrat tests run the following:
% rake
To run the selenium tests run the following:
% SELENIUM=true rake
Running
% rackup config.ru
% open http://localhost:9292
