Sha256: c8b8a4ab26fe3d984f7a8d4b46d045765b1c06405d5dc33981b19bbfde0e3cbe

Contents?: true

Size: 426 Bytes

Versions: 1

Compression:

Stored size: 426 Bytes

Contents

require 'test_helper'
require 'generators/ember/route_generator'

class RouteGeneratorTest < Rails::Generators::TestCase
  include GeneratorTestSupport

  tests Ember::Generators::RouteGenerator
  destination File.join(Rails.root, "tmp", "generator_test_output")

  setup :prepare_destination

  test "Assert files are properly created" do
    run_generator %w(index)

    assert_file "#{app_path}/routes/index.es6"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ember-appkit-rails-0.5.0 test/generators/route_generator_test.rb