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