spec/unit/manifest_spec.rb in inqlude-0.8.0 vs spec/unit/manifest_spec.rb in inqlude-0.9.0
- old
+ new
@@ -66,10 +66,10 @@
end
it "writes JSON for release manifest" do
filename = File.join settings.manifest_path, awesomelib_manifest_file
manifest = Manifest.parse_file filename
- expect( manifest.to_json ).to eq File.read( filename )
+ expect( manifest.to_json ).to eq File.read( filename ).chomp
end
it "writes JSON for generic manifest" do
filename = File.join settings.manifest_path, newlib_manifest_file
manifest = Manifest.parse_file filename