Sha256: 35ef7b9ee083e90389ae65d6ee24e4694f34f197057b911958a1fc1e43bc1cfd

Contents?: true

Size: 659 Bytes

Versions: 14

Compression:

Stored size: 659 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'
require 'fileutils'
require 'generators/devise_jwt_auth/install_views_generator'

module DeviseJwtAuth
  class InstallViewsGeneratorTest < Rails::Generators::TestCase
    tests InstallViewsGenerator
    destination Rails.root.join('tmp/generators')

    describe 'default values, clean install' do
      setup :prepare_destination

      before do
        run_generator
      end

      test 'files are copied' do
        assert_file 'app/views/devise/mailer/reset_password_instructions.html.erb'
        assert_file 'app/views/devise/mailer/confirmation_instructions.html.erb'
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
devise_jwt_auth722-0.1.7 test/lib/generators/devise_jwt_auth/install_views_generator_test.rb
devise_jwt_auth7-0.1.7 test/lib/generators/devise_jwt_auth/install_views_generator_test.rb
devise_jwt_auth-0.4.1 test/lib/generators/devise_jwt_auth/install_views_generator_test.rb
devise_jwt_auth-0.4.0 test/lib/generators/devise_jwt_auth/install_views_generator_test.rb
devise_jwt_auth-0.3.0 test/lib/generators/devise_jwt_auth/install_views_generator_test.rb
devise_jwt_auth-0.2.0 test/lib/generators/devise_jwt_auth/install_views_generator_test.rb
devise_jwt_auth-0.1.7 test/lib/generators/devise_jwt_auth/install_views_generator_test.rb
devise_jwt_auth-0.1.6 test/lib/generators/devise_jwt_auth/install_views_generator_test.rb
devise_jwt_auth-0.1.5 test/lib/generators/devise_jwt_auth/install_views_generator_test.rb
devise_jwt_auth-0.1.4 test/lib/generators/devise_jwt_auth/install_views_generator_test.rb
devise_jwt_auth-0.1.3 test/lib/generators/devise_jwt_auth/install_views_generator_test.rb
devise_jwt_auth-0.1.2 test/lib/generators/devise_jwt_auth/install_views_generator_test.rb
devise_jwt_auth-0.1.1 test/lib/generators/devise_jwt_auth/install_views_generator_test.rb
devise_jwt_auth-0.1.0 test/lib/generators/devise_jwt_auth/install_views_generator_test.rb