Module: Virtuatable::Builders::Helpers::Tests

Extended by:
ActiveSupport::Concern
Included in:
Tests
Defined in:
lib/virtuatable/builders/helpers/tests.rb

Overview

This helpers loads the folders specific in a specs loading scenario.

Author:

Instance Method Summary collapse

Instance Method Details

#load_tests!Object

Loads the folders containing files related to the tests.

  • spec/support contains files used to confiture each test module

  • spec/shared contain all rspec shared examples and contexts



18
19
20
# File 'lib/virtuatable/builders/helpers/tests.rb', line 18

def load_tests!
  require_folders('spec/support', 'spec/shared')
end