lib/qooxview/qooxview.rb in qooxview-1.9.9 vs lib/qooxview/qooxview.rb in qooxview-1.9.10
- old
+ new
@@ -87,10 +87,11 @@
}
end
def self.init(dir_entities = nil, dir_views = nil)
#dputs_func
- if not (Module.constants.index('Test') or Module.constants.index(:test))
+ # If we're in test-mode, don't interpret arguments
+ if !Module.constants.index(:Test)
dputs(2) { 'Doing options' }
self.do_opts(dir_entities, dir_views)
end
# Include all modules in the dir_entities and dir_views