Sha256: 88204025dcd3ae0e3a750d5759d0767b195c8862dbd78eedfbbcd56f7c46cb6e
Contents?: true
Size: 469 Bytes
Versions: 6
Compression:
Stored size: 469 Bytes
Contents
# encoding: utf-8 require 'fileutils' require 'generators/loaf/install_generator' RSpec.describe Loaf::Generators::InstallGenerator, type: :generator do destination File.expand_path("../../../tmp", __FILE__) before { prepare_destination } it "copies loaf locales to the host application" do run_generator locale = file("config/locales/loaf.en.yml") expect(locale).to exist FileUtils.rm_rf(File.expand_path("../../../tmp", __FILE__)) end end
Version data entries
6 entries across 6 versions & 1 rubygems