text: write rspec test for the following ruby class:
  
  class GlobalBlockListEntriesController < ApplicationController
    def create
      validate_pipeline_request
  
      queue_url = "https://sqs.#{ENV['AWS_REGION']}.amazonaws.com/#{ENV['AWS_ACCOUNT_ID']}/phisher-pdi-gble-create-#{ENV['KRN_ENV']}"
      message   = params[:message]
      client    = Aws::SQS::Client.new
  
      client.send_message(queue_url: queue_url, message_body: message.to_json)
      render json: { status: :success }, status: :ok
    rescue => e
      render json: { message: e.message }, status: :unprocessable_entity
    end
  end