Sha256: 616febe74ae677f71dfc771de47b9639df15608b4381fef92a83bfb4607aba10
Contents?: true
Size: 446 Bytes
Versions: 17
Compression:
Stored size: 446 Bytes
Contents
require_relative '../../spec_helper' require_lib 'reek/configuration/default_directive' RSpec.describe Reek::Configuration::DefaultDirective do describe '#add' do let(:directives) { {}.extend(described_class) } it 'adds a smell configuration' do directives.add :UncommunicativeVariableName, enabled: false expect(directives).to eq(Reek::SmellDetectors::UncommunicativeVariableName => { enabled: false }) end end end
Version data entries
17 entries across 17 versions & 1 rubygems