Sha256: 90d8efba7881f46ee70d8dcfd6625765f1ecac043e46ca54633892b8b76cfa7a
Contents?: true
Size: 626 Bytes
Versions: 14
Compression:
Stored size: 626 Bytes
Contents
require 'spec_helper' require 'generators/active_fedora/config/solr/solr_generator' describe ActiveFedora::Config::SolrGenerator do describe "#solr_wrapper_config" do let(:generator) { described_class.new } let(:files_to_test) {[ 'config/solr_wrapper_test.yml', '.solr_wrapper' ]} before do generator.solr_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
14 entries across 14 versions & 1 rubygems