stub_licensed_features helper not working properly in some specs

The following spec is failing:

https://gitlab.com/gitlab-org/gitlab-ee/blob/416e8698819f9265e2f2acd53702e45f214b4a93/spec/services/lfs/unlock_file_service_spec.rb#L124

I've made some debugging and looks like RSpec is reseting the stubs on the License class for some reason.

Assignee Loading
Time tracking Loading