I've noticed that I phrase a lot of shared behaviours in plural, eg describe "All payment_details views"
How about a "they" alias to "it" so you can write
describe "All payment_details views", :shared => true do
they "should have a card number field" do
# ...
end
end
WDYT?
Ashley
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users
