Sha256: dcb46090de37c13fd9da582b30e4829ed09014b4611b337bd8bf4d00ba6b7292
Contents?: true
Size: 317 Bytes
Versions: 124
Compression:
Stored size: 317 Bytes
Contents
# frozen_string_literal: true RSpec.describe :next_year do link :next_year, from: :ree_datetime it { result = next_year(DateTime.new(2022, 5, 23, 13, 15, 10)) expect(result).to eq(DateTime.new(2023, 5, 23, 13, 15, 10)) } it { result = next_year() expect(result).to be_a(DateTime) } end
Version data entries
124 entries across 124 versions & 1 rubygems