From 0b6ca096c7482cbcb0b00bea855763aa188e3839 Mon Sep 17 00:00:00 2001 From: Boris Staal Date: Wed, 6 Mar 2013 14:59:24 +0700 Subject: [PATCH] Another attempt to make specs Rails 4 + JRuby compatible :scream: --- spec/dummy/config/application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/dummy/config/application.rb b/spec/dummy/config/application.rb index 6edd497e..9ccb2284 100644 --- a/spec/dummy/config/application.rb +++ b/spec/dummy/config/application.rb @@ -3,7 +3,7 @@ require "action_controller/railtie" require "rails/test_unit/railtie" -if Rails::VERSION::MAJOR > 4 +if Rails::VERSION::MAJOR >= 4 # Ugly hack to make Rails 4 JRuby-compatible to escape Travis errors Rails::Engine.class_eval do def railties