this is my ruby and rails versions
require "test_helper"
class SayControllerTest < ActionDispatch::IntegrationTest
test "should get hello" do
get say_hello_url
assert_response :success
end
test "should say hello in json" do
get say_hello_url
assert_equal "{\"hello\":\"Rails!\"}", @response.body
end
test "should say hello in json" do
get say_hello_url,{"user"=>"Join"}
assert_equal "{\"hello\":\"Join!\"}", @response.body
end
end
the third paragraph of code reports an error