Sha256: 6066a4ad6c65296fb9e9cebd4d6df49261747cce1b0b2b21c1c835f684747c81
Contents?: true
Size: 408 Bytes
Versions: 8
Compression:
Stored size: 408 Bytes
Contents
require 'test_helper' require 'generators/ember/helper_generator' class HelperGeneratorTest < Rails::Generators::TestCase include GeneratorTestSupport tests Ember::Generators::HelperGenerator destination File.join(Rails.root, 'tmp') setup :prepare_destination test 'Generates helper correctly' do run_generator ['catdog'] assert_file "#{app_path}/helpers/catdog.js", /catdog/ end end
Version data entries
8 entries across 8 versions & 1 rubygems