Karel Minarik [Fri, 11 Sep 2009 17:49:10 +0000 (11 19:49 +0200)]
Adding another Homepage feature step
Thanks, Pepe in Fraktal :)
Karel Minarik [Mon, 7 Sep 2009 21:47:47 +0000 (7 23:47 +0200)]
Adding steps to implement the "Home page" scenario
NOTES
-----
* `visit` is Webrat method (http://docs.rdocul.us/webrat/master/classes/Webrat/Session.html#M000092)
* We are using standard Test::Unit assertions
Karel Minarik [Mon, 7 Sep 2009 21:21:18 +0000 (7 23:21 +0200)]
Adding specification/feature for homepage (features/homepage.feature)
NOTE: We will add steps neccessary to run the feature in the next step
Karel Minarik [Mon, 7 Sep 2009 21:10:59 +0000 (7 23:10 +0200)]
Adding simple "Hello World" Sinatra application
NOTE: We are deliberately reversing the proper TDD sequence for "test-after" one, for the purpose of this demonstration
Karel Minarik [Mon, 7 Sep 2009 22:09:50 +0000 (8 00:09 +0200)]
Simplifiying support for Cucumber (features/support/env.rb)
NOTE: Modeled after Hancock's setup [http://github.com/atmos/hancock/blob/master/features/support/env.rb]
Karel Minarik [Mon, 7 Sep 2009 17:30:07 +0000 (7 19:30 +0200)]
Adding support for Cucumber (features/support/env.rb)
1. $ mkdir features features/step_definitions features/support
2. $ wget --output-document=features/support/env.rb http://github.com/aslakhellesoy/cucumber/raw/master/examples/sinatra/features/support/env.rb
3. Rename app.rb to application.rb
5. Swap RSpec for Test::Unit :P
Karel Minarik [Mon, 7 Sep 2009 22:19:18 +0000 (8 00:19 +0200)]
Adding Rakefile and README
Karel Minarik [Mon, 7 Sep 2009 17:27:23 +0000 (7 19:27 +0200)]
Initial commit -- application skeleton
$ touch application.rb Rakefile README.txt