Sha256: c1da79defa887879a4ae34160d5a59eebe09ad487f51f2f830c7e8c0a681ec2b
Contents?: true
Size: 868 Bytes
Versions: 1
Compression:
Stored size: 868 Bytes
Contents
# frozen_string_literal: true require 'test_helper' require 'rails/generators/test_case' require 'generators/devise_security/install_generator' class TestInstallGenerator < Rails::Generators::TestCase tests DeviseSecurity::Generators::InstallGenerator destination File.expand_path('../tmp', __FILE__) setup :prepare_destination test 'Assert all files are properly created' do run_generator assert_file 'config/initializers/devise-security.rb' assert_file 'config/locales/devise.security_extension.de.yml' assert_file 'config/locales/devise.security_extension.en.yml' assert_file 'config/locales/devise.security_extension.es.yml' assert_file 'config/locales/devise.security_extension.fr.yml' assert_file 'config/locales/devise.security_extension.it.yml' assert_file 'config/locales/devise.security_extension.tr.yml' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
devise-security-0.13.0 | test/test_install_generator.rb |