We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fb55db commit e117615Copy full SHA for e117615
test/test_helper.rb
@@ -10,7 +10,7 @@
10
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)
11
12
class Foo < Rails::Application
13
- if Rails.version.to_s.start_with? '4'
+ if Rails::VERSION::MAJOR >= 4
14
config.eager_load = false
15
config.secret_key_base = 'abc123'
16
config.action_controller.perform_caching = true
0 commit comments