Class: Virtuatable::Builders::Tests
- Includes:
- Helpers::Tests
- Defined in:
- lib/virtuatable/builders/tests.rb
Overview
Builder used to declare an application from a spec/spec_helper file, loading everything a normal loader requires, then adding the files specialized in tests.
Instance Attribute Summary
Attributes inherited from Base
Attributes included from Helpers::Loaders
Attributes included from Helpers::Registration
Instance Method Summary collapse
-
#initialize(path: '..', name:, locations: caller_locations) ⇒ Tests
constructor
A new instance of Tests.
Methods included from Helpers::Tests
Methods inherited from Base
#all_loaders, #check_variables!, #load!, #require_folders, #sanitized_ancestors, #type
Methods included from Helpers::Loaders
Methods included from Helpers::Registration
Methods included from Helpers::Mongoid
Methods included from Helpers::Folders
Methods included from Helpers::Environment
Methods included from Helpers::Controllers
Constructor Details
#initialize(path: '..', name:, locations: caller_locations) ⇒ Tests
Returns a new instance of Tests.
11 12 13 14 |
# File 'lib/virtuatable/builders/tests.rb', line 11 def initialize(path: '..', name:, locations: caller_locations) super(locations: locations, path: path, name: name) @mode = :test end |