Class: Evilution::Config::Builders::SpecResolver Private
- Inherits:
-
Object
- Object
- Evilution::Config::Builders::SpecResolver
- Defined in:
- lib/evilution/config/builders/spec_resolver.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
- .call(integration:) ⇒ Object private
Class Method Details
.call(integration:) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/evilution/config/builders/spec_resolver.rb', line 7 def self.call(integration:) case integration when :minitest, :test_unit # test-unit gems mirror minitest's layout (test/ root, _test.rb suffix); # without this they default to spec/_spec.rb and resolve to nothing. Evilution::SpecResolver.new(test_dir: "test", test_suffix: "_test.rb", request_dir: "integration") else Evilution::SpecResolver.new end end |