Sha256: eee739ef1843ee4c22ccbde5d37d12f46c50e12450502a82c6f089fd58b78aab
Contents?: true
Size: 271 Bytes
Versions: 4
Compression:
Stored size: 271 Bytes
Contents
# frozen_string_literal: true RSpec.shared_examples 'autocorrect' do |original, corrected| it "autocorrects `#{original}` to `#{corrected}`" do autocorrected = autocorrect_source(original, 'spec/foo_spec.rb') expect(autocorrected).to eql(corrected) end end
Version data entries
4 entries across 4 versions & 1 rubygems