[rspec-users] RSpec makes me want to write better code
lists at ruby-forum.com
Wed Apr 15 11:45:59 EDT 2009
> 6 months since my initial post, what happened in between?
Damn! BDD + writing specs that don't hit the database, also taught me to
not break Demeter's law :-D
It's simply a huge pain to spec a double dot method call, i.e:
ActiveRecord associations are super, but they can back fire pretty bad
if you abuse them.
Posted via http://www.ruby-forum.com/.
More information about the rspec-users