Sha256: 9f9c7754c291b0375345e02edd4a34d1a5c599720e5b60cfd1bf621bc5f309d1
Contents?: true
Size: 460 Bytes
Versions: 18
Compression:
Stored size: 460 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper' describe "YARD::Handlers::Ruby::#{RUBY18 ? "Legacy::" : ""}MethodConditionHandler" do before(:all) { parse_file :method_condition_handler_001, __FILE__ } it "should not parse regular if blocks in methods" do Registry.at('#b').should be_nil end it "should parse if/unless blocks in the form X if COND" do Registry.at('#c').should_not be_nil Registry.at('#d').should_not be_nil end end
Version data entries
18 entries across 18 versions & 1 rubygems