Browse Source

skip a test as it is not relevant as the rake task would have already been ran

pull/2077/head
Kat 2 years ago
parent
commit
c63907b6bf
  1. 2
      spec/lib/tasks/set_sales_managing_organisation_spec.rb

2
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

Loading…
Cancel
Save