[rspec-users] New Style: describe-it instead of context-specify

Hussein Morsy hussein at morsy.de
Sun Mar 25 16:04:12 EDT 2007


Hello,

in the tunk, i found a new style for spec:

describe Foo do
   it "should do bar" do
     ...
   end
end

instead of

context "Foo"
   context "should do bar"
     ...
   end
end

The Rails-Textmate-bundle in trunk use only  the new "describe-it"  
style,

What are the reasons for the new style ?
Shall i use the new style from now on ?



Hussein





More information about the rspec-users mailing list