On Dec 6, 2011, at 2:30 PM, Nikolay Sturm wrote: > Hi, > > reading "Growing Object-Oriented Software, guided by tests", I came > across the distinction of class, role and responsibility. > > While classes are classes and responsibilities could be mapped to public > methods, I wonder how to specify roles in my specs. Does anyone have > experiences with this? > > cheers, > > Nikolay
https://www.relishapp.com/rspec/rspec-core/docs/example-groups/shared-examples _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users