Sha256: 6df0d666106d162462d2eff28df41423e52dc3d5b58482a3986e4f8b1c29c3a9
Contents?: true
Size: 334 Bytes
Versions: 7
Compression:
Stored size: 334 Bytes
Contents
# encoding: utf-8 require 'spec_helper' module Rubocop module Cop module Style describe CaseEquality do let(:ce) { CaseEquality.new } it 'registers an offence for ===' do inspect_source(ce, ['Array === var']) expect(ce.offences.size).to eq(1) end end end end end
Version data entries
7 entries across 7 versions & 2 rubygems