Sha256: 77fa157b8d89d56e8ad4a33d6a75e3906767ceda7c7df345482e175c800aeda8

Contents?: true

Size: 557 Bytes

Versions: 5

Compression:

Stored size: 557 Bytes

Contents

require 'spec_helper'

require_relative '../../../lib/generators/aureus/devise_invitable_i18n/devise_invitable_i18n_generator'

describe Aureus::Generators::DeviseInvitableI18nGenerator 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_invitable_base.en.yml'
    assert_file 'config/locales/devise_invitable_mail.en.yml'
    assert_file 'config/locales/devise_invitable_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_invitable_i18n_spec.rb
aureus-2.1.3 spec/lib/generators/devise_invitable_i18n_spec.rb
aureus-2.1.2 spec/lib/generators/devise_invitable_i18n_spec.rb
aureus-2.1.1 spec/lib/generators/devise_invitable_i18n_spec.rb
aureus-2.1.0 spec/lib/generators/devise_invitable_i18n_spec.rb