spec/parsi-date/construction_spec.rb in parsi-date-0.2.6 vs spec/parsi-date/construction_spec.rb in parsi-date-0.3.0

- old
+ new

@@ -1,6 +1,4 @@ -require File.expand_path('../../spec_helper', __FILE__) - describe Parsi::Date do context "civil" do it "constructs a date with arguments" do expect { Parsi::Date.civil 1391, 8, 6 }.to_not raise_error expect { Parsi::Date.civil 1391, 12, 30 }.to_not raise_error # 1391 is a leap year