Please have a look at

http://gist.github.com/131277

What I'd like to do is create a shared_examples group which I can parametize
a method. So my shared example would perhaps use method named_address=, or
set_named_address and then groups that behave like "Named address" would be
able to override this method so it sets the correct address e.g. the last
billing address

TIA

Andrew
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to