Sha256: a578e716fb8049ed0887f2e32a9d783619c56711ff2e5a877e5f42c2371c5072
Contents?: true
Size: 632 Bytes
Versions: 55
Compression:
Stored size: 632 Bytes
Contents
require 'test_helper' require 'fileutils' require 'generators/devise_token_auth/install_views_generator' module DeviseTokenAuth 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
55 entries across 55 versions & 4 rubygems