From 8c42d3201b8ccdf79fc2dd2c0046de79b627ad68 Mon Sep 17 00:00:00 2001 From: Dushan Despotovic Date: Thu, 28 Apr 2022 12:01:27 +0100 Subject: [PATCH] fix failing spec --- spec/lib/tasks/form_definition_validator_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/tasks/form_definition_validator_spec.rb b/spec/lib/tasks/form_definition_validator_spec.rb index a6b4650e6..313e45671 100644 --- a/spec/lib/tasks/form_definition_validator_spec.rb +++ b/spec/lib/tasks/form_definition_validator_spec.rb @@ -12,7 +12,7 @@ RSpec.describe "form_definition" do end it "runs the validate task for each form definition in the project" do - expect(Rake::Task["form_definition:validate"]).to receive(:invoke).exactly(4).times + expect(Rake::Task["form_definition:validate"]).to receive(:invoke).exactly(5).times task.invoke end end