Sha256: 3e76dbcf21787e3a1d2db3a1458acee9dc0456a9a30ecec098a9832720e87e76

Contents?: true

Size: 373 Bytes

Versions: 3

Compression:

Stored size: 373 Bytes

Contents

require 'test_helper'
require 'lib/generators/haml/testing_helper'

class Haml::Generators::InstallGeneratorTest < Rails::Generators::TestCase
  destination File.join(Rails.root)
  tests Haml::Generators::InstallGenerator
  arguments []

  setup :prepare_destination

  test 'haml is installed' do
    run_generator

    assert_file "config/initializers/haml.rb"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails3-generators-0.12.1 test/lib/generators/haml/install_generator_test.rb
rails3-generators-0.12.0 test/lib/generators/haml/install_generator_test.rb
rails3-generators-0.11.0 test/lib/generators/haml/install_generator_test.rb