lib/capy_spec.rb in capy-spec-0.0.2 vs lib/capy_spec.rb in capy-spec-0.0.3
- old
+ new
@@ -2,6 +2,16 @@
require_relative "capy_spec/version"
module CapySpec
class Error < StandardError; end
+
+ class Setup
+ DEFAULT_FILES = ["capy_spec/all"]
+
+ class << self
+ def call(files = DEFAULT_FILES)
+ files.each { |file| require file }
+ end
+ end
+ end
end