require "rails_helper"

RSpec.describe Suggester::Users::Recent, type: :service, vcr: {} do
  let(:user) { create(:user) }

  it "does not include calling user" do
    create_list(:user, 3)
    expect(described_class.new(user).suggest).not_to include(user)
  end

  it "returns the same number created" do
    create_list(:user, 3)
    expect(described_class.new(user).suggest.size).to eq(3)
  end
end
