Sha256: 2b9219bed8e1956d851287ea660a1ee48fcbd1884dcef9966631bdcd84cb9da7
Contents?: true
Size: 356 Bytes
Versions: 125
Compression:
Stored size: 356 Bytes
Contents
# frozen_string_literal: true RSpec.describe :all_hour do link :all_hour, from: :ree_datetime it { result = all_hour(DateTime.new(2022, 5, 26, 13, 15, 50)) expect(result).to eq(DateTime.new(2022, 5, 26, 13, 0, 0)..DateTime.new(2022, 5, 26, 13, 59, 59.999999)) } it { result = all_hour() expect(result).to be_a(Range) } end
Version data entries
125 entries across 125 versions & 1 rubygems