Sha256: 17cc55a3c1f78c0c9273d0b3baf866e80705b46024faaaa48149906b11a52873
Contents?: true
Size: 355 Bytes
Versions: 7
Compression:
Stored size: 355 Bytes
Contents
# encoding: utf-8 require 'spec_helper' module Rubocop module Cop module Style describe EndBlock do let(:cop) { EndBlock.new } it 'reports an offence for an END block' do src = ['END { test }'] inspect_source(cop, src) expect(cop.offences.size).to eq(1) end end end end end
Version data entries
7 entries across 7 versions & 2 rubygems