diff --git a/spec/requests/default_namespace_spec.rb b/spec/requests/default_namespace_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/requests/default_namespace_spec.rb
+++ b/spec/requests/default_namespace_spec.rb
@@ -1,8 +1,6 @@
 require 'rails_helper'
 
 RSpec.describe ActiveAdmin::Application, type: :request do
-  include Rails.application.routes.url_helpers
-
   let(:resource) { ActiveAdmin.register Category }
 
   [false, nil].each do |value|
diff --git a/spec/unit/resource_spec.rb b/spec/unit/resource_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/resource_spec.rb
+++ b/spec/unit/resource_spec.rb
@@ -61,7 +61,6 @@ module ActiveAdmin
     end
 
     describe "#include_in_menu?" do
-      let(:namespace){ ActiveAdmin::Namespace.new(application, :admin) }
       subject{ resource }
 
       context "when regular resource" do
Remove a couple of unused lines