Sha256: d8fd3462cf7c0b43545670d23205ddc9c24528092e4cec9972a9d60fa4473ae7

Contents?: true

Size: 498 Bytes

Versions: 5

Compression:

Stored size: 498 Bytes

Contents

require 'spec_helper'

require_relative '../../../lib/generators/aureus/devise_i18n/devise_i18n_generator'

describe Aureus::Generators::DeviseI18nGenerator do
  destination File.expand_path('../../../../tmp/gen', __FILE__)
  arguments ['en']

  before do
    prepare_destination
    run_generator
  end

  it 'creates view files' do
    assert_file 'config/locales/devise_base.en.yml'
    assert_file 'config/locales/devise_mail.en.yml'
    assert_file 'config/locales/devise_ui.en.yml'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
aureus-2.1.4 spec/lib/generators/devise_i18n_spec.rb
aureus-2.1.3 spec/lib/generators/devise_i18n_spec.rb
aureus-2.1.2 spec/lib/generators/devise_i18n_spec.rb
aureus-2.1.1 spec/lib/generators/devise_i18n_spec.rb
aureus-2.1.0 spec/lib/generators/devise_i18n_spec.rb