|
|
@ -11,7 +11,7 @@ describe "rake form_definition:validate_all", type: :task do |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
it "runs the validate task for each form definition in the project" do |
|
|
|
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(3).times |
|
|
|
task.invoke |
|
|
|
task.invoke |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|