Sha256: 682c9fa8a7c5f894e45fe6a3f28f1d6636f6fe3ff779fd421236a4a695b3d066

Contents?: true

Size: 467 Bytes

Versions: 34

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 "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

34 entries across 34 versions & 4 rubygems

Version Path
challah-0.6.2 vendor/bundle/gems/yard-0.7.5/spec/handlers/method_condition_handler_spec.rb
challah-0.6.1 vendor/bundle/gems/yard-0.7.5/spec/handlers/method_condition_handler_spec.rb
challah-0.6.0 vendor/bundle/gems/yard-0.7.5/spec/handlers/method_condition_handler_spec.rb
challah-0.5.4 vendor/bundle/gems/yard-0.7.5/spec/handlers/method_condition_handler_spec.rb
challah-0.5.3 vendor/bundle/gems/yard-0.7.5/spec/handlers/method_condition_handler_spec.rb
challah-0.5.2 vendor/bundle/gems/yard-0.7.5/spec/handlers/method_condition_handler_spec.rb
challah-0.5.1 vendor/bundle/gems/yard-0.7.5/spec/handlers/method_condition_handler_spec.rb
challah-0.5.0 vendor/bundle/gems/yard-0.7.5/spec/handlers/method_condition_handler_spec.rb
challah-0.4.1 vendor/bundle/gems/yard-0.7.5/spec/handlers/method_condition_handler_spec.rb
challah-0.4.0 vendor/bundle/gems/yard-0.7.5/spec/handlers/method_condition_handler_spec.rb
challah-0.3.5 vendor/bundle/gems/yard-0.7.5/spec/handlers/method_condition_handler_spec.rb
challah-0.3.4 vendor/bundle/gems/yard-0.7.5/spec/handlers/method_condition_handler_spec.rb
challah-0.3.3 vendor/bundle/gems/yard-0.7.5/spec/handlers/method_condition_handler_spec.rb
challah-0.3.2 vendor/bundle/gems/yard-0.7.5/spec/handlers/method_condition_handler_spec.rb
challah-0.3.1 vendor/bundle/gems/yard-0.7.5/spec/handlers/method_condition_handler_spec.rb
challah-0.3.0 vendor/bundle/gems/yard-0.7.5/spec/handlers/method_condition_handler_spec.rb
challah-0.2.1 vendor/bundle/gems/yard-0.7.5/spec/handlers/method_condition_handler_spec.rb
challah-0.2.0 vendor/bundle/gems/yard-0.7.5/spec/handlers/method_condition_handler_spec.rb
yard-0.7.5 spec/handlers/method_condition_handler_spec.rb
nutshell-crm-0.0.6.alpha vendor/bundle/gems/yard-0.7.4/spec/handlers/method_condition_handler_spec.rb