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.0.2 test/generators/install_generator_test.rb
devise-3.0.1 test/generators/install_generator_test.rb
devise-2.2.5 test/generators/install_generator_test.rb
loyal_devise-2.1.7 test/generators/install_generator_test.rb
loyal_devise-2.1.6 test/generators/install_generator_test.rb
devise-3.0.0 test/generators/install_generator_test.rb
loyal_devise-2.1.5 test/generators/install_generator_test.rb
loyal_devise-2.1.4 test/generators/install_generator_test.rb
loyal_devise-2.1.3 test/generators/install_generator_test.rb
devise-3.0.0.rc test/generators/install_generator_test.rb
devise-2.2.4 test/generators/install_generator_test.rb
devise-warbler-2.2.3 test/generators/install_generator_test.rb
devise_sociable-0.1.0 vendor/bundle/gems/devise-1.2.1/test/generators/install_generator_test.rb
devise_sociable-0.1.0 vendor/bundle/gems/devise-1.5.4/test/generators/install_generator_test.rb
devise-2.2.3 test/generators/install_generator_test.rb
devise-2.1.3 test/generators/install_generator_test.rb
devise-2.0.5 test/generators/install_generator_test.rb
devise-1.5.4 test/generators/install_generator_test.rb
devise-2.2.2 test/generators/install_generator_test.rb
devise-2.2.1 test/generators/install_generator_test.rb