Sha256: b367dacea61c9ff80696f1458b15a115d292b2dc928f756158724675cdd59b40

Contents?: true

Size: 394 Bytes

Versions: 1

Compression:

Stored size: 394 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::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.0 test/generator_test.rb