Sha256: 224d49a30fff03c6c872f58215942930661385be7768083029dc89bcaf798ea0
Contents?: true
Size: 400 Bytes
Versions: 2
Compression:
Stored size: 400 Bytes
Contents
require 'test_helper' require 'rails/generators' require 'generators/cachers/cacher_generator' class GeneratorsTest < Rails::Generators::TestCase tests Cachers::Generators::CacherGenerator destination Rails.root.join('tmp') teardown do FileUtils.rm_rf destination_root end test 'file generation' do run_generator %w(user) assert_file 'app/cachers/user_cacher.rb' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cachers-0.1.1 | test/generator_test.rb |
cachers-0.0.1 | test/generator_test.rb |