# frozen_string_literal: true
module RequestSpecHelper
  def sign_in(user)
    post "/users/sign_in", user: { email: user.email, password: user.password }
  end
end

# frozen_string_literal: true
module RequestSpecHelper
  def sign_in(user)
    post "/users/sign_in", params: { user: { email: user.email, password: user.password } }
  end
end

Fix deprecation messages caused by our login support helper for request specs
Fix deprecation messages caused by our login support helper for request specs
