Sha256: 1db1283e6ffb9bb712e5903b22f3f58e992cf38dfbee9c0c6753f9d81797b59e
Contents?: true
Size: 285 Bytes
Versions: 126
Compression:
Stored size: 285 Bytes
Contents
# frozen_string_literal: true RSpec.describe :next_year do link :next_year, from: :ree_date it { result = next_year(Date.new(2020, 12, 2)) expect(result).to eq(Date.new(2021, 12, 2)) } it { result = next_year() expect(result).to eq(Date.today >> 12) } end
Version data entries
126 entries across 126 versions & 1 rubygems