[rspec-devel] first cut at blockless given/when/then

David Chelimsky dchelimsky at gmail.com
Thu Oct 18 04:33:53 EDT 2007

Hi all,

I committed a first cut at blockless Givens/Whens/Thens to RSpec's trunk:

cd /path/to/rspec/project
svn up
cd rspec
bin/spec examples/story/calculator.rb

Take a look at examples/story/calculator.rb to see what's going on.

Needs docs!!!!

Thoughts welcome.

I've also got a cut at the plain text parser checked in, but it's not
hooked up to anything yet. However, now that we can do blockless GWT,
hooking the parser up to the rest is just a matter of a simple adapter
and logistics. Look for it in the next few days.


More information about the rspec-devel mailing list