Module: Spree::TestingSupport
- Defined in:
- lib/spree/testing_support.rb,
lib/spree/testing_support/flash.rb,
lib/spree/testing_support/caching.rb,
lib/spree/testing_support/factory_bot.rb,
lib/spree/testing_support/job_helpers.rb,
lib/spree/testing_support/preferences.rb,
lib/spree/testing_support/url_helpers.rb,
lib/spree/testing_support/capybara_ext.rb,
lib/spree/testing_support/translations.rb,
lib/spree/testing_support/blacklist_urls.rb,
lib/spree/testing_support/order_walkthrough.rb,
lib/spree/testing_support/controller_requests.rb,
lib/spree/testing_support/authorization_helpers.rb
Defined Under Namespace
Modules: AuthorizationHelpers, BlacklistUrls, Caching, CapybaraExt, ControllerRequests, FactoryBot, Flash, JobHelpers, Preferences, Translations, UrlHelpers
Classes: OrderWalkthrough
Instance Method Summary
collapse
Instance Method Details
#check_factory_bot_version ⇒ Object
16
17
18
|
# File 'lib/spree/testing_support.rb', line 16
def check_factory_bot_version
Spree::TestingSupport::FactoryBot.check_version
end
|
#factory_bot_paths ⇒ Object
12
13
14
|
# File 'lib/spree/testing_support.rb', line 12
def factory_bot_paths
Spree::TestingSupport::FactoryBot.definition_file_paths
end
|
#load_all_factories ⇒ Object
20
21
22
|
# File 'lib/spree/testing_support.rb', line 20
def load_all_factories
Spree::TestingSupport::FactoryBot.add_paths_and_load!
end
|