Skip to content

Raise error when stubbing a feature that is not defined on license.rb

Oswaldo Ferreira requested to merge osw-stub-feature-method-raise-error into master

It's better to ensure you're not stubbing an undefined feature.

We could do that on the real codebase as well, but I believe returning false is good enough.

Edit: This also removes stale stubs (they were not being used).

Edited by Oswaldo Ferreira

Merge request reports