lib/ree_lib/packages/ree_datetime/spec/ree_datetime/functions/all_month_spec.rb



# frozen_string_literal: true

RSpec.describe :all_month do
  link :all_month, from: :ree_datetime

  it {
   result = all_month(DateTime.new(2022, 5, 12, 13, 15, 10))

   expect(result).to eq(DateTime.new(2022, 5, 1, 0, 0, 0)..DateTime.new(2022, 5, 31, 23, 59, 59.999999))
  }

  it {
    result = all_month()

    expect(result).to be_a(Range)
  }
end