require 'spec_helper' require 'generators/controller_resources/install_generator' module ControllerResources RSpec.describe InstallGenerator, :type => :generator do destination Rails.root.join('tmp/generators') before do prepare_destination and run_generator end it "creates the locale file" do assert_file "config/locales/responders.en.yml", <