Sha256: 4c82c7e1fd27ac376a4e5ee4cc03fa42f64a3d37bff4dc7070b7e6fef9e1f4ad
Contents?: true
Size: 438 Bytes
Versions: 1
Compression:
Stored size: 438 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::Smells::UncommunicativeVariableName => { enabled: false }) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reek-4.4.2 | spec/reek/configuration/default_directive_spec.rb |