Skip to content

Commit

Permalink
Merge pull request rails#53620 from p8/railties/rescuable-typo
Browse files Browse the repository at this point in the history
Fix typo in test
  • Loading branch information
fatkodima authored Nov 13, 2024
2 parents a4e1ff7 + e18356a commit ad9bc2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions railties/test/application/middleware/exceptions_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def index
assert_match "ActiveRecord::StatementInvalid", last_response.body
end

test "show_exceptions :rescubale with a rescuable error" do
test "show_exceptions :rescuable with a rescuable error" do
controller :foo, <<-RUBY
class FooController < ActionController::Base
def index
Expand All @@ -272,7 +272,7 @@ def index
assert_equal 404, last_response.status
end

test "show_exceptions :rescubale with a non-rescuable error" do
test "show_exceptions :rescuable with a non-rescuable error" do
controller :foo, <<-RUBY
class FooController < ActionController::Base
def index
Expand Down

0 comments on commit ad9bc2a

Please sign in to comment.