Sha256: 40b7fd01d2dc0fc08e5a47bbd4217842a8ef9e9d83e2d95e259815526d2e51ea
Contents?: true
Size: 488 Bytes
Versions: 17
Compression:
Stored size: 488 Bytes
Contents
require 'helper' require 'generators/acts_as_cleo/install/install_generator' class InstallGeneratorTest < Rails::Generators::TestCase destination File.expand_path('../../tmp', __FILE__) setup :prepare_destination tests ActsAsCleo::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
17 entries across 17 versions & 1 rubygems