Sha256: b127c4aca48955731978bcc101b14d36482131ad0bd4cfe0bb4840384958784e
Contents?: true
Size: 268 Bytes
Versions: 6
Compression:
Stored size: 268 Bytes
Contents
RSpec.shared_examples 'detects style' do |source, detected_style| it 'generates a todo based on the detected style' do inspect_source(cop, source, 'foo_spec.rb') expect(cop.config_to_allow_offenses) .to eq('EnforcedStyle' => detected_style) end end
Version data entries
6 entries across 6 versions & 1 rubygems