Resolve newly introduced EE specific spec/ differences

The following differences appear to have been introduced (or were overlooked previously) in the specs/ directory:

spec/controllers/oauth/applications_controller_spec.rb
diff --git a/spec/controllers/oauth/applications_controller_spec.rb b/home/yorickpeterse/Projects/gitlab/gdk-ee/gitlab/spec/controllers/oauth/applications_controller_spec.rb
index 228c97d591d..df836c2c3e3 100644
--- a/spec/controllers/oauth/applications_controller_spec.rb
+++ b/home/yorickpeterse/Projects/gitlab/gdk-ee/gitlab/spec/controllers/oauth/applications_controller_spec.rb
@@ -17,7 +17,7 @@ describe Oauth::ApplicationsController do
         expect(response).to have_gitlab_http_status(200)
       end
 
-      it 'shows list of applications' do
+      it 'redirects back to profile page if OAuth applications are disabled' do
         disable_user_oauth
 
         get :index
spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
diff --git a/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb b/home/yorickpeterse/Projects/gitlab/gdk-ee/gitlab/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
index baec24590b4..09d1d873eec 100644
--- a/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
+++ b/home/yorickpeterse/Projects/gitlab/gdk-ee/gitlab/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
@@ -264,6 +264,14 @@ describe Gitlab::ImportExport::ProjectTreeRestorer do
           expect(CommitStatus.all).to all(have_attributes(pipeline_id: a_value > 0))
         end
       end
+
+      it 'has issue boards' do
+        expect(Project.find_by_path('project').boards.count).to eq(1)
+      end
+
+      it 'has lists associated with the issue board' do
+        expect(Project.find_by_path('project').boards.find_by_name('TestBoardABC').lists.count).to eq(3)
+      end
     end
   end

We should resolve these differences so that the files are the same in CE and EE.

Edited Aug 06, 2019 by Yorick Peterse
Assignee Loading
Time tracking Loading