Sha256: 870f2315f24766bdc82b245d6ed85590c341388d1fb546fd0e29e903de18a832
Contents?: true
Size: 525 Bytes
Versions: 10
Compression:
Stored size: 525 Bytes
Contents
# frozen_string_literal: true describe DarwinCore::Generator::EmlXml do subject { DarwinCore::Generator::EmlXml.new(data, path) } let(:data) { EML_DATA } let(:path) { DarwinCore::DEFAULT_TMP_DIR } describe ".new" do it { is_expected.to be_kind_of DarwinCore::Generator::EmlXml } end describe "#create" do let(:content) do subject.create File.read(File.join(path, "eml.xml")) end it "should create eml xml" do expect(content).to match(/Test Classification/) end end end
Version data entries
10 entries across 10 versions & 1 rubygems