Sha256: 4bc24eca7acf1d3f3721660cc6ddda234dbb1056ee545a8bcaf1ccdfc38bc544
Contents?: true
Size: 641 Bytes
Versions: 15
Compression:
Stored size: 641 Bytes
Contents
require 'spec_helper' require 'generators/active_fedora/config/fedora/fedora_generator' describe ActiveFedora::Config::FedoraGenerator do describe "#fcrepo_wrapper_config" do let(:generator) { described_class.new } let(:files_to_test) { [ 'config/fcrepo_wrapper_test.yml', '.fcrepo_wrapper' ]} before do generator.fcrepo_wrapper_config end after do files_to_test.each { |file| File.delete(file) if File.exist?(file) } end it "creates config files" do files_to_test.each do |file| expect(File).to exist(file), "Expected #{file} to exist" end end end end
Version data entries
15 entries across 15 versions & 1 rubygems