Sha256: fa2e67dca7a609a8ec6acc26298bac214d453ef9ea9d24bdb4dfa7db71e4a689

Contents?: true

Size: 382 Bytes

Versions: 110

Compression:

Stored size: 382 Bytes

Contents

require "test_helper"

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

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

Version data entries

110 entries across 104 versions & 14 rubygems

Version Path
devise-3.5.10 test/generators/install_generator_test.rb
devise-3.5.9 test/generators/install_generator_test.rb
devise-3.5.8 test/generators/install_generator_test.rb
devise-3.5.7 test/generators/install_generator_test.rb
devise-4.0.0.rc1 test/generators/install_generator_test.rb
devise-3.5.6 test/generators/install_generator_test.rb
devise-3.5.5 test/generators/install_generator_test.rb
devise-3.5.4 test/generators/install_generator_test.rb
devise-3.5.3 test/generators/install_generator_test.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/devise-3.5.2/test/generators/install_generator_test.rb
devise-3.5.2 test/generators/install_generator_test.rb
devise-3.5.1 test/generators/install_generator_test.rb
deviseOne-1.0.0 test/generators/install_generator_test.rb
devise-3.4.1 test/generators/install_generator_test.rb
devise-3.4.0 test/generators/install_generator_test.rb
brainsome_devise-3.3.0 test/generators/install_generator_test.rb
devise-3.3.0 test/generators/install_generator_test.rb
devbootsrap-0.0.7 test/generators/install_generator_test.rb
devbootsrap-0.0.6 test/generators/install_generator_test.rb
devbootsrap-0.0.5 test/generators/install_generator_test.rb