Sha256: 66959ca2b91f2639c3dee2d17ee1a994f1de0744839b87f7cda80b38814adcd5
Contents?: true
Size: 436 Bytes
Versions: 24
Compression:
Stored size: 436 Bytes
Contents
# rubocop-rspec gem extension of RuboCop's ExpectOffense module. # # This mixin is the same as rubocop's ExpectOffense except the default # filename ends with `_spec.rb` module ExpectOffense include RuboCop::RSpec::ExpectOffense DEFAULT_FILENAME = 'example_spec.rb'.freeze def expect_offense(source, filename = DEFAULT_FILENAME) super end def expect_no_offenses(source, filename = DEFAULT_FILENAME) super end end
Version data entries
24 entries across 24 versions & 1 rubygems