Sha256: 737fed8e14cea855ab27cc220e3759ab5e59f1da2dbc009b0a495096446f93c1
Contents?: true
Size: 256 Bytes
Versions: 23
Compression:
Stored size: 256 Bytes
Contents
RSpec.shared_examples 'detects style' do |source, style, filename: 'x_spec.rb'| it 'generates a todo based on the detected style' do inspect_source(source, filename) expect(cop.config_to_allow_offenses).to eq('EnforcedStyle' => style) end end
Version data entries
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
rubocop-rspec-1.18.0 | spec/shared/detects_style_behavior.rb |
rubocop-rspec-1.17.1 | spec/shared/detects_style_behavior.rb |
rubocop-rspec-1.17.0 | spec/shared/detects_style_behavior.rb |