Sha256: 4934d0a2518af423af732392b4f73e917384a6588838761e747931dca7de5c94
Contents?: true
Size: 348 Bytes
Versions: 126
Compression:
Stored size: 348 Bytes
Contents
# frozen_string_literal: true RSpec.describe :beginning_of_month do link :beginning_of_month, from: :ree_datetime it { result = beginning_of_month(DateTime.new(2022, 5, 26, 13, 15, 20)) expect(result).to eq(DateTime.new(2022, 5, 1, 0, 0, 0)) } it { result = beginning_of_month() expect(result).to be_a(DateTime) } end
Version data entries
126 entries across 126 versions & 1 rubygems