spec/readers/codemeta_reader_spec.rb in bolognese-0.9.33 vs spec/readers/codemeta_reader_spec.rb in bolognese-0.9.34
- old
+ new
@@ -7,10 +7,10 @@
context "get codemeta raw" do
it "rdataone" do
input = fixture_path + 'codemeta.json'
subject = Bolognese::Metadata.new(input: input)
- expect(subject.raw).to eq(IO.read(input))
+ expect(subject.raw).to eq(IO.read(input).strip)
end
end
context "get codemeta metadata" do
it "maremma" do