spec/parsi-date/leap_spec.rb in parsi-date-0.2.6 vs spec/parsi-date/leap_spec.rb in parsi-date-0.3.0
- old
+ new
@@ -1,6 +1,4 @@
-require File.expand_path('../../spec_helper', __FILE__)
-
describe "Parsi::Date#leap?" do
it "returns true if a year is a leap year in the Parsi (Jalali) calendar" do
Parsi::Date.leap?(1387).should be_truthy
Parsi::Date.leap?(1391).should be_truthy
Parsi::Date.leap?(1395).should be_truthy