Sha256: 25d590f8ac8e6bcc2f6be3c1ff686e6881fc6e5876405f7b0f28ad1ed4f0b7c7
Contents?: true
Size: 464 Bytes
Versions: 33
Compression:
Stored size: 464 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
33 entries across 33 versions & 3 rubygems