Sha256: 5f9745282121ffb2712907954deaad015671619e15bb14dcd759fede34d89100

Contents?: true

Size: 326 Bytes

Versions: 1

Compression:

Stored size: 326 Bytes

Contents

# frozen_string_literal: true

require_relative "../lib/jekyll_time_since"

RSpec.describe(TimeSince) do
  include TimeSince
  it "Computes years" do
    years_since("1956")
    years_since("1956-10-15")

    months_since("1956")
    months_since("1956-10-15")

    weeks_since("1956")
    weeks_since("1956-10-15")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll_time_since-0.1.1 spec/jekyll_time_since_spec.rb