spec/verifier_spec.rb in inqlude-0.0.7 vs spec/verifier_spec.rb in inqlude-0.0.8
- old
+ new
@@ -54,6 +54,15 @@
manifest["filename"] = "wrongname"
verifier.verify(manifest).valid?.should be_false
end
+ it "verifies file" do
+ filename = File.join settings.manifest_path,
+ "awesomelib/awesomelib.2013-09-08.manifest"
+
+ verifier = Verifier.new settings
+
+ expect( verifier.verify_file( filename ).valid? ).to be_true
+ end
+
end