Skip to content

Commit e117615

Browse files
committed
This should be MAJOR >= 4
1 parent 3fb55db commit e117615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)
1111

1212
class Foo < Rails::Application
13-
if Rails.version.to_s.start_with? '4'
13+
if Rails::VERSION::MAJOR >= 4
1414
config.eager_load = false
1515
config.secret_key_base = 'abc123'
1616
config.action_controller.perform_caching = true

0 commit comments

Comments
 (0)