Ahh...reality is overrated. Thanks again for your help guys. Making a lot of sense. If I could get rcumber working that's be awesome.
Tim On Tue, Dec 23, 2008 at 4:39 PM, aslak hellesoy <aslak.helle...@gmail.com> wrote: > > > On Wed, Dec 24, 2008 at 12:10 AM, Tim Walker <walke...@gmail.com> wrote: >> >> Very nice indeed... >> >> >> In your blog you said: >> >> "Note that one of the steps is already defined in webrat. Isn't that >> cool? As you get the hang of this, you reuse certain word patterns >> which map to specific tests. But we're getting ahead of ourselves. We >> need to dive into the creation of "steps" which make up our executable >> spec. Cucumber gives a some handy snippets to get us started (in the >> output of "rake features" above). We'll paste these into a new file >> that we'll create in the "features/step_definitions" directory" >> >> Why did one of the steps already get defined in webrat? Does it parse >> "see" as indicative of UI? or what...? > > I try to only use magic when reality doesn't work ;-) > When you run "script/generate cucumber" you get a webrat_steps.rb file that > contains these common steps. > > Aslak > >> >> Thanks very much. >> >> Tim >> >> >> >> On Mon, Dec 22, 2008 at 2:01 AM, Sarah Allen <li...@ruby-forum.com> wrote: >> > I got started with cucumber and it sure is fun. I've written up my >> > initial experience in tutorial format here for any newbies who want to >> > follow in my tracks: >> > http://www.ultrasaurus.com/code/2008/12/rails-2-day-3.html >> > >> > If anyone has any corrections, let me know. I was wondering whether >> > when writing a real application, do you usually write your whole spec >> > with lots of scenarios at once and then get them the execute one at a >> > time? or do you write and code one scenario at a time? >> > >> > Thanks, >> > Sarah >> > >> > p.s. what is the relationship between cucumber and RSpec? >> > -- >> > Posted via http://www.ruby-forum.com/. >> > _______________________________________________ >> > rspec-users mailing list >> > rspec-users@rubyforge.org >> > http://rubyforge.org/mailman/listinfo/rspec-users >> > >> _______________________________________________ >> rspec-users mailing list >> rspec-users@rubyforge.org >> http://rubyforge.org/mailman/listinfo/rspec-users > > > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users