On Friday, February 27, 2015 at 10:25:39 PM UTC-8, AndyL wrote: > > Thanks for explaining - enormously helpful. Here's my solution: > > RSpec.configure do |config| > config.register_ordering(:global) do |items| > items.sort_by do |group| > case group.metadata[:type] > when :feature then 50 > when :request then 40 > when :model then 10 > else 20 > end > end > end > end > > Looks like a real simple solution!
-- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/f4c09bf8-4d90-4638-9fbe-8c491c114bdc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
