Released: Aug 22, 2009, Running time: 19 min
In this episode:
Adding static pages. We write the Cucumber feature, spec, then add the controller code and finally views.
FREEWatch episodeDownloads
| Item | Size |
|---|---|
| Quicktime (MP4) | 51.91 MB |
| iPhone | 24.84 MB |
Released: Aug 22, 2009, Running time: 19 min
In this episode:
Adding static pages. We write the Cucumber feature, spec, then add the controller code and finally views.
FREEWatch episode| Item | Size |
|---|---|
| Quicktime (MP4) | 51.91 MB |
| iPhone | 24.84 MB |
In every Rails project that goes on for a while, at some point you want to add some static pages. If you want to add an About page, Terms of Service or your pricing plans, chances are there is not much to them than some template code.
We add static pages support to Brandizzle from the beginning, to get it out of the way. It also helps us with writing our first feature.
In this episode you can see the following work cycle:
Stay tuned for episode 3 where we start adding some useful functionality to the project.
UPDATE 2009-10-22 (thanks takaaki). Some notes about making things work:
Install the gems below
Also read the first several paragraphs at http://wiki.github.com/aslakhellesoy/cucumber/autotest-integration . You need to turn on “AUTOFEATURE” so that “autospec” commands run both features and specs.
3 comments
takaaki
10 months ago
Thanks for the great screencast. I followed you guys and took notes of what I think may be helpful to others.
Install the gems below
Also read the first several paragraphs at http://wiki.github.com/aslakhellesoy/cucumber/autotest-integration . You need to turn on “AUTOFEATURE” so that “autospec” commands run both features and specs.
Istvan Hoka
9 months ago
In reply to takaaki
Thanks for the great screencast. I followed you guys and took notes of what I think may be helpful to others.
Install the gems below
Also read the first several paragraphs at http://wiki.github.com/aslakhellesoy/cucumber/autotest-integration . You need to turn on “AUTOFEATURE” so that “autospec” commands run both features and specs.
Thank you for the notes. I have updated the show notes with them.
Silviu Bojica
8 months ago
Thanks for the Brandizzle series. Lots of things to learn.
As a note, when rendering the 404, I think it is simpler to use:
as it is not required anymore to create the show.html.haml which is somehow redundant.