Upgrade to Ruby 3.0.2.

This commit is contained in:
evazion
2021-09-20 18:20:27 -05:00
parent c6bf3e7934
commit 273be55de8
4 changed files with 4 additions and 4 deletions

View File

@@ -65,7 +65,7 @@ class CommentsControllerTest < ActionDispatch::IntegrationTest
assert_response :success
end
should respond_to_search({}, other_params: {group_by: "comment"}).with { [@deleted_comment, @mod_comment, @user_comment] }
should respond_to_search(other_params: {group_by: "comment"}).with { [@deleted_comment, @mod_comment, @user_comment] }
should respond_to_search(body_matches: "blah").with { @mod_comment }
should respond_to_search(score: 10).with { @user_comment }
should respond_to_search(is_sticky: "true").with { @mod_comment }

View File

@@ -9,7 +9,7 @@ module ControllerHelper
# setup { @touhou = create(:tag, name: "touhou") }
# should respond_to_search(name: "touhou").with { @touhou }
#
def respond_to_search(search_params, other_params: {})
ruby2_keywords def respond_to_search(search_params, other_params: {})
RespondToSearchMatcher.new(search_params, other_params)
end