Sha256: 093cb4421d9c2e008b52dc686bcfb034370b33d3af5e871f88b005b7b98b9ab8

Contents?: true

Size: 426 Bytes

Versions: 4

Compression:

Stored size: 426 Bytes

Contents

require "test_helper"
require_relative "../../lib/generators/session_logger/initializer_generator"

class InitializerGeneratorTest < Rails::Generators::TestCase
  tests SessionLogger::InitializerGenerator
  destination File.expand_path("../tmp", File.dirname(__FILE__))
  setup :prepare_destination


  test "Assert all files are copied" do
    run_generator
    assert_file "config/initializers/session_logger.rb"
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
session_logger-1.0.4 test/unit/intitializer_generator_test.rb
session_logger-1.0.3 test/unit/intitializer_generator_test.rb
session_logger-1.0.2 test/unit/intitializer_generator_test.rb
session_logger-1.0.1 test/unit/intitializer_generator_test.rb