Sha256: 924323717e538dfc1182227fb154ff6db62d15c9646064f303722e0400272ff9

Contents?: true

Size: 409 Bytes

Versions: 5

Compression:

Stored size: 409 Bytes

Contents

# frozen_string_literal: true

require "test_helper"

class InstallTest < Rails::Generators::TestCase
  tests SimpleAuth::InstallGenerator
  destination File.expand_path("../../tmp", File.dirname(__FILE__))
  setup :prepare_destination
  setup :run_generator

  test "copies initializer" do
    path = "#{__dir__}/../../tmp/config/initializers/simple_auth.rb"
    assert_file File.expand_path(path)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
simple_auth-3.1.4 test/generators/install_test.rb
simple_auth-3.1.3 test/generators/install_test.rb
simple_auth-3.1.2 test/generators/install_test.rb
simple_auth-3.1.1 test/generators/install_test.rb
simple_auth-3.1.0 test/generators/install_test.rb