spec/handlers/extend_handler_spec.rb in yard-0.2.3.3 vs spec/handlers/extend_handler_spec.rb in yard-0.2.3.4
- old
+ new
@@ -1,8 +1,8 @@
require File.dirname(__FILE__) + '/spec_helper'
describe "YARD::Handlers::Ruby::#{RUBY18 ? "Legacy::" : ""}ExtendHandler" do
- before { parse_file :extend_handler_001, __FILE__ }
+ before(:all) { parse_file :extend_handler_001, __FILE__ }
it "should include modules at class scope" do
Registry.at(:B).class_mixins.should == [P(:A)]
Registry.at(:B).instance_mixins.should be_empty
end