spec/handlers/extend_handler_spec.rb in yard-0.9.5 vs spec/handlers/extend_handler_spec.rb in yard-0.9.6

- old
+ new

@@ -1,7 +1,8 @@ +# frozen_string_literal: true require File.dirname(__FILE__) + '/spec_helper' -describe "YARD::Handlers::Ruby::#{LEGACY_PARSER ? "Legacy::" : ""}ExtendHandler" do +RSpec.describe "YARD::Handlers::Ruby::#{LEGACY_PARSER ? "Legacy::" : ""}ExtendHandler" do before(:all) { parse_file :extend_handler_001, __FILE__ } it "includes modules at class scope" do expect(Registry.at(:B).class_mixins).to eq [P(:A)] expect(Registry.at(:B).instance_mixins).to be_empty