From c63907b6bf95bd43b335c75f76608a17ce880036 Mon Sep 17 00:00:00 2001 From: Kat Date: Thu, 7 Dec 2023 15:19:40 +0000 Subject: [PATCH] skip a test as it is not relevant as the rake task would have already been ran --- spec/lib/tasks/set_sales_managing_organisation_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/tasks/set_sales_managing_organisation_spec.rb b/spec/lib/tasks/set_sales_managing_organisation_spec.rb index c8e304d9f..657befe84 100644 --- a/spec/lib/tasks/set_sales_managing_organisation_spec.rb +++ b/spec/lib/tasks/set_sales_managing_organisation_spec.rb @@ -14,7 +14,7 @@ RSpec.describe "set_sales_managing_organisation" do context "when the rake task is run" do let!(:sales_log) { create(:sales_log, :completed, managing_organisation_id: nil) } - it "updates sales log managing_organisation_id with owning_organisation_id" do + xit "updates sales log managing_organisation_id with owning_organisation_id" do expect(sales_log.managing_organisation_id).to eq(nil) expect(sales_log.status).to eq("completed") task.invoke