Sha256: 5049a5b4fa3901bef2115766c0542092332a57eea426f74adf5b9756e6b1ab4f
Contents?: true
Size: 420 Bytes
Versions: 5
Compression:
Stored size: 420 Bytes
Contents
require 'test_helper' require 'rails/generators' require 'generators/pagers/install_generator' class GeneratorsTest < Rails::Generators::TestCase tests Pagers::InstallGenerator destination File.expand_path('../tmp', File.dirname(__FILE__)) teardown do FileUtils.rm_rf self.destination_root end test 'initializer generator' do run_generator assert_file 'config/initializers/pagers.rb' end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
pagers-3.1.5 | test/generator_test.rb |
pagers-3.1.4 | test/generator_test.rb |
pagers-3.1.3 | test/generator_test.rb |
pagers-3.1.2 | test/generator_test.rb |
pagers-3.1.1 | test/generator_test.rb |