Sha256: e23a46f9cf26fc80312ba9a75a1b1a52b3434c63068616395b531bb21af249dc

Contents?: true

Size: 406 Bytes

Versions: 1

Compression:

Stored size: 406 Bytes

Contents

require 'test_helper'
require 'rails/generators'
require 'generators/pagers/install/install_generator'

class GeneratorsTest < Rails::Generators::TestCase
  destination Rails.root.join('tmp')

  teardown do
    FileUtils.rm_rf destination_root
  end

  test 'install' do
    self.class.tests Pagers::Generators::InstallGenerator
    run_generator
    assert_file 'config/initializers/pagers.rb'
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pagers-4.0.0.1 test/generator_test.rb