Sha256: fd5b5e9babc204b1bb595ab38cb93bca096d09dfbffe242609e80bf0f3c678f4
Contents?: true
Size: 937 Bytes
Versions: 5
Compression:
Stored size: 937 Bytes
Contents
require 'spec_helper' require_relative '../../../lib/generators/aureus/devise_views/devise_views_generator' describe Aureus::Generators::DeviseViewsGenerator do destination File.expand_path('../../../../tmp/gen', __FILE__) arguments ['devise'] before do prepare_destination run_generator end it 'creates view files' do assert_file 'app/views/devise/confirmations/new.html.haml' assert_file 'app/views/devise/mailer/confirmation_instructions.html.haml' assert_file 'app/views/devise/mailer/reset_password_instructions.html.haml' assert_file 'app/views/devise/mailer/unlock_instructions.html.haml' assert_file 'app/views/devise/passwords/edit.html.haml' assert_file 'app/views/devise/passwords/new.html.haml' assert_file 'app/views/devise/sessions/new.html.haml' assert_file 'app/views/devise/shared/_links.html.haml' assert_file 'app/views/devise/unlocks/new.html.haml' end end
Version data entries
5 entries across 5 versions & 1 rubygems