Sha256: b58ef07a38491dfc829bbd6d1eabb8971f4fda91115864aa13c03c2757517b3b
Contents?: true
Size: 355 Bytes
Versions: 126
Compression:
Stored size: 355 Bytes
Contents
# frozen_string_literal: true RSpec.describe :tomorrow do link :tomorrow, from: :ree_date it { date = Date.new(2020,8,31) result = tomorrow(date) expect(result).to be_a(Date) expect(result).to eq(Date.new(2020,9,1)) } it { result = tomorrow() expect(result).to be_a(Date) expect(result).to eq(Date.today + 1) } end
Version data entries
126 entries across 126 versions & 1 rubygems