diff --git a/test/dummy/config/application.rb b/test/dummy/config/application.rb
index <HASH>..<HASH> 100644
--- a/test/dummy/config/application.rb
+++ b/test/dummy/config/application.rb
@@ -2,7 +2,7 @@ require File.expand_path('../boot', __FILE__)
 
 require "action_controller/railtie"
 require "action_mailer/railtie"
-require "active_resource/railtie"
+require "active_resource/railtie" if Rails::VERSION::MAJOR < 4
 require "rails/test_unit/railtie"
 
 Bundler.require
Skip requiring active_resource in Rails 4