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