Sha256: 24086e14d3b6ef888bb00bc0e19be6b9368117e6a323e38734ab79db1f2f5aed

Contents?: true

Size: 573 Bytes

Versions: 2

Compression:

Stored size: 573 Bytes

Contents

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.en.yml'
    assert_file 'config/locales/devise.security_extension.de.yml'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
devise-security-0.12.0 test/test_install_generator.rb
devise-security-0.11.1 test/test_install_generator.rb