lib/fulmar/domain/service/plugin_service.rb in fulmar-2.0.1 vs lib/fulmar/domain/service/plugin_service.rb in fulmar-2.0.2
- old
+ new
@@ -49,9 +49,13 @@
@plugins.keys.select { |plugin| classname(plugin).constants.include? (:DslHelper) }.collect do |plugin|
classname(plugin, :DslHelper)
end
end
+ def test_files
+ @plugins.values.select{|plugin| plugin.respond_to?(:test_files) }.collect(&:test_files).flatten
+ end
+
def rake_files
@plugins.values.collect(&:rake_files).flatten
end
end
end