Sha256: 369370154145b483baadd2e7d4a56e2c22ded08fa3b50dc8d2883168d06bd93c

Contents?: true

Size: 503 Bytes

Versions: 6

Compression:

Stored size: 503 Bytes

Contents

require File.expand_path('../../test_helper', __FILE__)
require 'rails/generators'
require File.expand_path('../../../lib/generators/janus/install_generator', __FILE__)

class Janus::Generators::InstallGeneratorTest < Rails::Generators::TestCase
  tests Janus::Generators::InstallGenerator

  destination Rails.root.join('tmp').to_s
  setup :prepare_destination

  test "create" do
    run_generator
    assert_file 'config/initializers/janus.rb'
    assert_file 'config/locales/janus.en.yml'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
janus-0.10.1 test/generators/install_generator_test.rb
janus-0.10.0 test/generators/install_generator_test.rb
janus-0.9.1 test/generators/install_generator_test.rb
janus-0.9.0 test/generators/install_generator_test.rb
janus-0.8.1 test/generators/install_generator_test.rb
janus-0.8.0 test/generators/install_generator_test.rb