Sha256: 52b89a685c17b779ab37efd32740603aa80e1018e29221616221cb9ba41f02e0
Contents?: true
Size: 492 Bytes
Versions: 11
Compression:
Stored size: 492 Bytes
Contents
require 'test_helper' require 'generators/acts_as_audited/install_generator' class InstallGeneratorTest < Rails::Generators::TestCase destination File.expand_path('../../tmp', __FILE__) setup :prepare_destination tests ActsAsAudited::Generators::InstallGenerator test "should generate a migration" do run_generator %w(install) assert_migration "db/migrate/install_acts_as_audited.rb" do |content| assert_match /class InstallActsAsAudited/, content end end end
Version data entries
11 entries across 11 versions & 2 rubygems