`yumrepo_provider.class` can be replaced with `described_class` (https://www.relishapp.com/rspec/rspec-core/docs/metadata/described-class)