test/install_generator_test.rb in audited-4.2.2 vs test/install_generator_test.rb in audited-4.3.0
- old
+ new
@@ -9,9 +9,9 @@
test "should generate a migration" do
run_generator %w(install)
assert_migration "db/migrate/install_audited.rb" do |content|
- assert_match /class InstallAudited/, content
+ assert_match(/class InstallAudited/, content)
end
end
end