Browse Source

Fix rake spec

pull/92/head
baarkerlounger 4 years ago
parent
commit
0dce7b5b0e
  1. 2
      spec/lib/tasks/form_definition_validator_spec.rb

2
spec/lib/tasks/form_definition_validator_spec.rb

@ -27,7 +27,7 @@ describe "rake form_definition:validate", type: :task do
end end
it "runs the validate task for the given form definition" do it "runs the validate task for the given form definition" do
expect(JSON::Validator).to receive(:validate!).at_least(2).times expect(JSON::Validator).to receive(:validate!).at_least(1).time
task.invoke("config/forms/2021_2022.json") task.invoke("config/forms/2021_2022.json")
end end
end end

Loading…
Cancel
Save