> > > so is writing in Ruby". This begs the question now that we have plain > > > text stories. Can we make the ruby-based stories more developer > > > friendly? Perhaps remove string identifiers, use symbols. Quit passing > > > in blocks to story parts, assume each story part is a method call, and > > > I'm sure there are other things that could be suggested as well. > > > > You can do all of this already except using symbols instead of > > Strings, something which doesn't strike me as more readable. Here's an > > example: > > > > http://pastie.caboo.se/155775 > > And here's another example with a bit more reuse expressed in the > steps at the expense of more complexity in the steps. Which approach > is better? I can't really say one is always better than the other. I > choose based on readability in a given context. Just exploring > possibilities.
where? _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users