Sha256: dc4ca535efa485105a44f65f2a5931e6ac75656683bbd18c2f5916fe469b81ee
Contents?: true
Size: 542 Bytes
Versions: 10
Compression:
Stored size: 542 Bytes
Contents
# frozen_string_literal: true describe DarwinCore::Generator::MetaXml do subject { DarwinCore::Generator::MetaXml.new(data, path) } let(:data) { META_DATA } let(:path) { DarwinCore::DEFAULT_TMP_DIR } describe ".new" do it { is_expected.to be_kind_of DarwinCore::Generator::MetaXml } end describe "#create" do let(:content) do subject.create File.read(File.join(path, "meta.xml")) end it "creates metadata file" do expect(content).to match(%r{<location>core.csv</location>}) end end end
Version data entries
10 entries across 10 versions & 1 rubygems