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