spec/flipper/adapter_spec.rb in flipper-0.11.0.beta3 vs spec/flipper/adapter_spec.rb in flipper-0.11.0.beta4

- old
+ new

@@ -15,19 +15,19 @@ end describe '.default_config' do it 'returns default config' do adapter_class = Class.new do - include described_class + include Flipper::Adapter # rubocop:disable RSpec/DescribedClass end expect(adapter_class.default_config).to eq(default_config) end end describe '#default_config' do it 'returns default config' do adapter_class = Class.new do - include described_class + include Flipper::Adapter # rubocop:disable RSpec/DescribedClass end expect(adapter_class.new.default_config).to eq(default_config) end end