registration_spec.rb share a method stub in the global "before" block