RoR rspec-rails error NoMethodError: Undefined method ‘get’

everybody!

I am doing RoR requests test and I am getting this error:

Failures:

  1) Users GET #index is a success
     Failure/Error: before(:example) { get "/users" }
     
     NoMethodError:
       undefined method `get' for #<RSpec::ExampleGroups::Users::GETIndex:0x000055a33f143f60>
       Did you mean?  gets
                      gem
     # ./spec/requests/users_spec.rb:6:in `block (3 levels) in <top (required)>'

My code is:

RSpec.describe 'Users', type: :request do
  describe 'GET #index' do
    before(:example) { get "/users" }

    it 'is a success' do
      expect(response).to have_http_status(:ok)
    end

    it "renders 'index' template" do
      expect(response).to render_template(:index)
    end

    it "shows the rendered text 'Welcome to the Ruby on Rails Blog'" do
      expect(response).to include('Welcome to the Ruby on Rails Blog')
    end
  end
end

I did not include require ‘rails_helper’ in the spec file, because when I do this I am getting this error

ChildProcess::MissingFFIError:
  FFI is a required pre-requisite for Windows or posix_spawn support in the ChildProcess gem. Ensure the `ffi` gem is installed. If you believe this is an error, please file a bug at http://github.com/enkessler/childprocess/issues

ruby version => ruby 3.1.1p18
rails version => Rails 7.0.2.4
RSpec version => RSpec 3.11

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum