This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Wed Feb 11 17:23:46 -0800 2009 | |
| |
README.markdown | Wed Feb 11 17:23:46 -0800 2009 | |
| |
Rakefile | Wed Feb 11 17:23:46 -0800 2009 | |
| |
as_time_goes_by.rb | Sun Feb 15 13:58:49 -0800 2009 | |
| |
config.ru | Wed Feb 11 17:23:46 -0800 2009 | |
| |
lib/ | Wed Feb 11 17:23:46 -0800 2009 | |
| |
spec/ | Sun Feb 15 13:58:49 -0800 2009 | |
| |
views/ | Wed Feb 11 17:23:46 -0800 2009 |
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







