Skip to content

Commit 3e4f0d4

Browse files
committed
Ensure tests pass when running isolated
The array extension method `second` is used in some tests so ensure that it is loaded so we can run test files individually.
1 parent f6fab7e commit 3e4f0d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
require "bundler/setup"
22
require "active_support"
3+
require 'active_support/core_ext/array/access'
34
require "rails/version"
45

56
if Rails::VERSION::STRING > "4.0"

0 commit comments

Comments
 (0)