Sha256: 12f8fecd3c55c2c82c3ff53aa58d2b1bc500df3d14ec53d1a6dd962738e614c6

Contents?: true

Size: 449 Bytes

Versions: 5

Compression:

Stored size: 449 Bytes

Contents

require 'test_helper'
require 'rails/generators/test_case'
require 'generators/titlezilla/install_generator'

class GeneratorTest < Rails::Generators::TestCase
  tests Titlezilla::Generators::InstallGenerator
  destination File.expand_path('../../tmp', __FILE__)
  setup :prepare_destination
  teardown { rm_rf(destination_root) }

  test 'generates example locale file' do
    run_generator
    assert_file 'config/locales/titles.en.yml'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
titlezilla-0.1.4 test/generator_test.rb
titlezilla-0.1.3 test/generator_test.rb
titlezilla-0.1.2 test/generator_test.rb
titlezilla-0.1.1 test/generator_test.rb
titlezilla-0.1.0 test/generator_test.rb