Sha256: 563c06e106f40e64bf6c2aeb5d8f2f5c8cfda669c160269f4acc3c329a836254
Contents?: true
Size: 367 Bytes
Versions: 3
Compression:
Stored size: 367 Bytes
Contents
require 'spec_helper' describe Fasterer::Analyzer do let(:test_file_path) do RSpec.root.join('support', 'analyzer', '29_include_vs_cover_on_range.rb') end it 'should detect 3 include? method calls' do analyzer = Fasterer::Analyzer.new(test_file_path) analyzer.scan expect(analyzer.errors[:include_vs_cover_on_range].count).to eq(3) end end
Version data entries
3 entries across 3 versions & 1 rubygems