I'm using it_behaves_like here. Shared examples definition is in spec/unit/config_shared_examples.rb