spec/support/v1/baz.rb in super_module-1.2.2 vs spec/support/v1/baz.rb in super_module-1.3.0
- old
+ new
@@ -1,18 +1,18 @@
-module Support::V1::Baz
+module V1::Baz
include SuperModule
- include Support::V1::Bar
+ include ::V1::Bar
make_barrable
validates 'baz', {:presence => true}
attr_reader :baz_factor
-
+
class << self
def baz
'self.baz'
end
end
-
+
def initialize(baz_factor)
super()
@baz_factor = baz_factor
end
@@ -23,6 +23,5 @@
def <=>(other)
baz_factor <=> other.baz_factor
end
end
-