Skip to content

Commit

Permalink
Another attempt to make specs Rails 4 + JRuby compatible 😱
Browse files Browse the repository at this point in the history
  • Loading branch information
inossidabile committed Mar 6, 2013
1 parent 0d89809 commit 0b6ca09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/dummy/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b6ca09

Please sign in to comment.