Sha256: cafc07144f2799f6f57fa0994a9ea4224aef5711d05ab9a1a8d39bc7ecd8e9c6
Contents?: true
Size: 349 Bytes
Versions: 126
Compression:
Stored size: 349 Bytes
Contents
# frozen_string_literal: true RSpec.describe :beginning_of_month do link :beginning_of_month, from: :ree_date it { result = beginning_of_month(Date.new(2020, 4, 12)) expect(result).to eq(Date.new(2020, 4, 1)) } it { result = beginning_of_month() expect(result).to eq(Date.new(Date.today.year, Date.today.month, 1)) } end
Version data entries
126 entries across 126 versions & 1 rubygems