Sha256: b0d213514b5518caeb4cd39d159c2954511326ae96d55ad279ac065d07f82726

Contents?: true

Size: 445 Bytes

Versions: 1

Compression:

Stored size: 445 Bytes

Contents

require "test_helper"
require 'rails/generators'
require "generators/devise_certifiable/install_generator"

class InstallGeneratorTest < Rails::Generators::TestCase
  tests DeviseCertifiable::Generators::InstallGenerator
  
  destination File.expand_path("../../tmp", __FILE__)
  setup :prepare_destination

  test "Assert all files are properly created" do
    run_generator
    assert_file "config/locales/devise_certifiable.en.yml"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devise_certifiable-0.1.0 test/generators/install_generator_test.rb