From a8c016d5bd53756dfc13546736d8a38bfc4333cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20=C4=8Cupi=C4=87?= Date: Thu, 21 Dec 2017 01:31:16 +0100 Subject: [PATCH] Stub ResetProjectCacheService --- app/services/reset_project_cache_service.rb | 4 ++++ spec/services/reset_project_cache_service_spec.rb | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 app/services/reset_project_cache_service.rb create mode 100644 spec/services/reset_project_cache_service_spec.rb diff --git a/app/services/reset_project_cache_service.rb b/app/services/reset_project_cache_service.rb new file mode 100644 index 00000000000..85ba6d953a2 --- /dev/null +++ b/app/services/reset_project_cache_service.rb @@ -0,0 +1,4 @@ +class ResetProjectCacheService < BaseService + def execute + end +end diff --git a/spec/services/reset_project_cache_service_spec.rb b/spec/services/reset_project_cache_service_spec.rb new file mode 100644 index 00000000000..9623035a5a4 --- /dev/null +++ b/spec/services/reset_project_cache_service_spec.rb @@ -0,0 +1,12 @@ +require 'spec_helper' + +describe ResetProjectCacheService do + let(:project) { create(:project) } + let(:user) { create(:user) } + + subject { described_class.new(project, user).execute } + + it "resets project cache" do + fail + end +end