> What do you mean by "on target"? Are you asking if the implementations are
> the same, or similar? Or are you asking if attest meets the same goals as
> RSpec?

More specifically, I meant the way he implements describe blocks and the should
method...

It's difficult for me to tell from glancing through the actual RSpec code..
For example I am confused by the implementation of 'should', since it calls:
__should_for_example_group__

But prior to that, it appears that __should_for_example_group__ is an alias for
should, which looks to me like it would be recursively calling itself.

In that post's example, their definition of should simply returns self as they
described "it's just syntactic sugar to make the tests read better", but from
looking at RSpec's code, it seems like there's a lot more going on, but I am
not quite seeing the big picture...

Patrick J. Collins
http://collinatorstudios.com
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to