spec/integration/cli_verify_spec.rb in inqlude-0.8.0 vs spec/integration/cli_verify_spec.rb in inqlude-0.9.0
- old
+ new
@@ -61,10 +61,11 @@
Schema validation error: The property '#/' did not contain a required property of 'summary' in schema http://inqlude.org/schema/generic-manifest-v1#
Schema validation error: The property '#/' did not contain a required property of 'urls' in schema http://inqlude.org/schema/generic-manifest-v1#
Schema validation error: The property '#/' did not contain a required property of 'licenses' in schema http://inqlude.org/schema/generic-manifest-v1#
Schema validation error: The property '#/' did not contain a required property of 'description' in schema http://inqlude.org/schema/generic-manifest-v1#
Schema validation error: The property '#/' did not contain a required property of 'platforms' in schema http://inqlude.org/schema/generic-manifest-v1#
+ Warning: missing `display_name` attribute
Warning: missing `topics` attribute
2 manifests checked. 1 ok, 1 with error, 1 has warning.
Errors:
@@ -106,9 +107,10 @@
result = run_command(args: ["verify", "--offline", "--manifest_dir=#{dir}"])
expected_output = <<EOT
Verify manifest miss-topics.manifest...ok
Warning: missing `topics` attribute
Verify manifest no-topics.manifest...ok
+ Warning: missing `display_name` attribute
Warning: missing `topics` attribute
2 manifests checked. 2 ok, 0 with error, 2 have warnings.
EOT
expect(result).to exit_with_success(expected_output)