Sha256: 16eac0609a7492cd0e8e0b9329f2d6a56164ca597e70790f9e2751b7b6ddec8c
Contents?: true
Size: 465 Bytes
Versions: 3
Compression:
Stored size: 465 Bytes
Contents
require 'test_helper' require 'generators/audited/install_generator' class InstallGeneratorTest < Rails::Generators::TestCase destination File.expand_path('../../tmp', __FILE__) setup :prepare_destination tests Audited::Generators::InstallGenerator test "should generate a migration" do run_generator %w(install) assert_migration "db/migrate/install_audited.rb" do |content| assert_match(/class InstallAudited/, content) end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
audited-hp-4.3.1 | test/install_generator_test.rb |
audited-hp-4.3.0 | test/install_generator_test.rb |
audited-4.3.0 | test/install_generator_test.rb |