Skip to content

Commit edb13dc

Browse files
committed
Fix tests for the new error pages
1 parent 4b9ed95 commit edb13dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

railties/test/application/configuration_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1601,7 +1601,7 @@ def create
16011601
assert_equal :raise, ActionController::Parameters.action_on_unpermitted_parameters
16021602

16031603
post "/posts", post: { "title" => "zomg" }
1604-
assert_match "We're sorry, but something went wrong", last_response.body
1604+
assert_match "Were sorry, but something went wrong", last_response.body
16051605
end
16061606

16071607
test "config.action_controller.action_on_unpermitted_parameters = :raise is ignored with expect" do

railties/test/application/middleware/exceptions_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def index
150150

151151
assert_nothing_raised do
152152
get("/foo", {}, "HTTPS" => "on")
153-
assert_match "The page you were looking for doesn't exist.", last_response.body
153+
assert_match "The page you were looking for doesnt exist.", last_response.body
154154
end
155155
end
156156

0 commit comments

Comments
 (0)