mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-06 00:53:24 +00:00
Use require_relative to load test_helper so that tests can be run with the ruby command (#29664).
git-svn-id: https://svn.redmine.org/redmine/trunk@24108 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
2ff1c33169
commit
42a8c0e38f
@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'test_helper'
|
||||
require_relative '../test_helper'
|
||||
|
||||
class WebhooksControllerTest < Redmine::ControllerTest
|
||||
setup do
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'test_helper'
|
||||
require_relative '../../test_helper'
|
||||
|
||||
class WebhookEndpointValidatorTest < ActiveSupport::TestCase
|
||||
class TestModel
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'test_helper'
|
||||
require_relative '../test_helper'
|
||||
|
||||
class WebhookPayloadTest < ActiveSupport::TestCase
|
||||
include ActiveJob::TestHelper
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'test_helper'
|
||||
require_relative '../test_helper'
|
||||
require 'pp'
|
||||
|
||||
class WebhookTest < ActiveSupport::TestCase
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user