Skip to content

Commit

Permalink
Add specs for Date#yday
Browse files Browse the repository at this point in the history
By using the shared specs of Time#yday
  • Loading branch information
herwinw committed Jun 29, 2024
1 parent b8ea5c8 commit df01d74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/date/yday_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require_relative '../../spec_helper'
require_relative '../../shared/time/yday'
require 'date'

describe "Date#yday" do
it "needs to be reviewed for spec completeness"
it_behaves_like :time_yday, -> year, month, day { Date.new(year, month, day).yday }
end

0 comments on commit df01d74

Please sign in to comment.