Skip to content

Commit

Permalink
add test kit spec to require_helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammjammjamm committed Jan 9, 2025
1 parent 4743615 commit 48dddfc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/inferno/spec_support.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ module SpecSupport
FACTORY_PATH = File.expand_path('../../spec/factories', __dir__).freeze
REQUEST_HELPER_PATH = File.expand_path('../../spec/request_helper', __dir__).freeze
RUNNABLE_HELPER_PATH = File.expand_path('../../spec/runnable_helper', __dir__).freeze
TEST_KIT_SPEC = File.expand_path('../../spec/shared/test_kit_examples', __dir__).freeze

def self.require_helpers
require FACTORY_BOT_SUPPORT_PATH
require RUNNABLE_HELPER_PATH
require REQUEST_HELPER_PATH
require TEST_KIT_SPEC
end
end
end

0 comments on commit 48dddfc

Please sign in to comment.