Skip to content

Commit

Permalink
Mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh authored Sep 14, 2024
1 parent 28f7559 commit c10bf48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/scaffold_controller_generator_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class ScaffoldControllerGeneratorTest < Rails::Generators::TestCase
end

assert_instance_method :destroy, content do |m|
assert_match %r{format\.html \{ redirect_to admin_posts_path, status: :see_other, xnotice: "Post was successfully destroyed\." \}}, m
assert_match %r{format\.html \{ redirect_to admin_posts_path, status: :see_other, notice: "Post was successfully destroyed\." \}}, m
end
end
end
Expand Down

0 comments on commit c10bf48

Please sign in to comment.