Sha256: 1a3b4a221b9b8fb515f48b4daba80b8918d2235a1bead97a102b30944fd47d5d

Contents?: true

Size: 383 Bytes

Versions: 6

Compression:

Stored size: 383 Bytes

Contents

require "test_helper"
require "generators/roomer/install/install_generator"

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

  test "assert initializer file created" do
    run_generator
    assert_file "config/initializers/roomer.rb"
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
roomer-1.0.1 test/generators/install_generator_test.rb
roomer-1.0.0 test/generators/install_generator_test.rb
roomer-0.0.11 test/generators/install_generator_test.rb
roomer-0.0.10 test/generators/install_generator_test.rb
roomer-0.0.9 test/generators/install_generator_test.rb
roomer-0.0.8 test/generators/install_generator_test.rb