lib/api-tester/config.rb in api-tester-0.3.1 vs lib/api-tester/config.rb in api-tester-1.0.0
- old
+ new
@@ -19,22 +19,22 @@
self.modules << new_module
self
end
def with_default_modules
- self.modules << Format.new
- self.modules << GoodCase.new
- self.modules << Typo.new
- self.modules << UnusedFields.new
+ self.modules << Format
+ self.modules << GoodCase
+ self.modules << Typo
+ self.modules << UnusedFields
self
end
def with_all_modules
- self.modules << Format.new
- self.modules << ExtraVerbs.new
- self.modules << GoodCase.new
- self.modules << Typo.new
- self.modules << UnusedFields.new
+ self.modules << Format
+ self.modules << ExtraVerbs
+ self.modules << GoodCase
+ self.modules << Typo
+ self.modules << UnusedFields
self
end
end
end