removed unused fix in badge_registry_spec.rb