Sha256: 944235b62ede427cd245df6b4479abb92613a209f8f2a1135f01afd0f22c6af6
Contents?: true
Size: 429 Bytes
Versions: 7
Compression:
Stored size: 429 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.js.es6" end end
Version data entries
7 entries across 7 versions & 1 rubygems