phpspec/phpspec — Issue #50: Macros
Author: phpspec
Created: 2011-12-29 22:19:06+00:00
State: open

Macros are helpers that can be reused in various example groups.

here are some references from rspec implementations:
http://benmabey.com/2008/06/08/writing-macros-in-rspec.html
http://railscasts.com/episodes/157-rspec-matchers-macros