Sha256: 650e8d2f81230e54ebe768376bbac52a1895a0d97874b4ab540984d82ac78862
Contents?: true
Size: 467 Bytes
Versions: 8
Compression:
Stored size: 467 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper' describe "YARD::Handlers::Ruby::#{LEGACY_PARSER ? "Legacy::" : ""}MethodConditionHandler" do before(:all) { parse_file :method_condition_handler_001, __FILE__ } it "does not parse regular if blocks in methods" do expect(Registry.at('#b')).to be nil end it "parses if/unless blocks in the form X if COND" do expect(Registry.at('#c')).not_to be nil expect(Registry.at('#d')).not_to be nil end end
Version data entries
8 entries across 7 versions & 2 rubygems