Class: Virtuatable::Builders::Tests
- Includes:
- Helpers::Tests, Specs::Factories::Accounts, Specs::Factories::Applications, Specs::Factories::Groups, Specs::Factories::Sessions, Specs::Shared::Controllers
- 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 Specs::Shared::Controllers
Methods included from Specs::Factories::Sessions
Methods included from Specs::Factories::Groups
Methods included from Specs::Factories::Applications
Methods included from Specs::Factories::Accounts
Methods included from Helpers::Tests
Methods inherited from Base
#all_loaders, #load!, #require_folders, #sanitized_ancestors
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.
16 17 18 19 |
# File 'lib/virtuatable/builders/tests.rb', line 16 def initialize(path: '..', name:, locations: caller_locations) super(locations: locations, path: path, name: name) @mode = :test end |