Class: NeetoCommonsBackend::TestHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/neeto_commons_backend/helpers/test_helper.rb

Class Method Summary collapse

Class Method Details

.common_setupObject



17
18
19
20
21
22
# File 'lib/neeto_commons_backend/helpers/test_helper.rb', line 17

def common_setup
  simplecov_config
  minitest_reporters_config
  setup_common_stubs
  add_modules_to_active_support_test_case
end

.webapp_setupObject



10
11
12
13
14
15
# File 'lib/neeto_commons_backend/helpers/test_helper.rb', line 10

def webapp_setup
  common_setup
  webmock_disable_net_connect
  add_modules_to_action_dispatch_integration_test
  add_methods_to_action_dispatch_integration_test
end