spec/sweetloader/sweetloader_spec.rb in sweetloader-0.1.1 vs spec/sweetloader/sweetloader_spec.rb in sweetloader-0.1.2

- old
+ new

@@ -1,44 +1,6 @@ require 'spec_helper' -class Trial - include ClassExt -end - -class Hello -end - -module GoodBye - module Alpha - module Beta - end - end -end - -module First - module ClassMethods - def class_method - end - end - - module InstanceMethods - def instance_method - end - end -end - -module Second - include_and_extend First -end - -class Third - include_and_extend Second -end - -def trial - @trial ||= Trial.new -end - describe Module do describe "#include_and_extend" do it "should include class methods directly" do Second.should respond_to(:class_method)