test/helper.rb in oprah-0.2.1 vs test/helper.rb in oprah-0.3.0
- old
+ new
@@ -70,6 +70,15 @@
class ProjectPresenter < Oprah::Presenter
presents_many :comments
presents_one :owner
end
+
+ # EigenUser contains eigen class in ancestors list.
+ #
+ # > EigenUser.ancestors
+ # => [Fixtures::EigenUser, #<Module:0x007faa79b128f0>, Object, ... , Kernel, BasicObject]
+ #
+ class EigenUser
+ include Module.new
+ end
end