This should live in registration_system_spec.rb directly, since it's only used there.