Sha256: c955497eb218bd1d0aecea37795d03a61babc2783a2af29255aa1cc3ffcdca0f
Contents?: true
Size: 492 Bytes
Versions: 5
Compression:
Stored size: 492 Bytes
Contents
require 'helper' require 'generators/acts_as_cleo/install_generator' class InstallGeneratorTest < Rails::Generators::TestCase destination File.expand_path('../../tmp', __FILE__) setup :prepare_destination tests ActsAsCleo::Generators::InstallGenerator should "generate a migration" do run_generator %w(install) Dir['/tmp/db/migrate/*.rb'].each do |m| assert_migration m do |content| assert_match /class InstallActsAsCleo/, content end end end end
Version data entries
5 entries across 5 versions & 1 rubygems