Sha256: 1ac6c21348e4ba22259a6a2dbda3ee401a221b368e3c27d0e4408f9d29d6989f
Contents?: true
Size: 441 Bytes
Versions: 3
Compression:
Stored size: 441 Bytes
Contents
require_relative '../../spec_helper' require_relative '../../../lib/reek/configuration/default_directive' RSpec.describe Reek::Configuration::DefaultDirective do describe '#add' do subject { {}.extend(described_class) } it 'adds a smell configuration' do subject.add :UncommunicativeVariableName, enabled: false expect(subject).to eq(Reek::Smells::UncommunicativeVariableName => { enabled: false }) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
reek-3.4.0 | spec/reek/configuration/default_directive_spec.rb |
reek-3.3.1 | spec/reek/configuration/default_directive_spec.rb |
reek-3.3.0 | spec/reek/configuration/default_directive_spec.rb |