Sha256: 75fe342c00121be461135da830a09ae844c5e4e20010a7a183e38d1bc4ce9a45
Contents?: true
Size: 392 Bytes
Versions: 4
Compression:
Stored size: 392 Bytes
Contents
require 'spec_helper' describe Miniblog::ViewsGenerator do let(:destination) { 'tmp' } before do FileUtils.rm_rf 'tmp' end it "copies all the views" do Miniblog::ViewsGenerator.start([], :destination_root => destination) Dir['app/views/**/*'].each do |f| expect(File.read(f)).to eq File.read(File.join(destination, f)) unless File.directory?(f) end end end
Version data entries
4 entries across 4 versions & 1 rubygems