spec/parsi-date/add_spec.rb in parsi-date-0.2.6 vs spec/parsi-date/add_spec.rb in parsi-date-0.3.0
- old
+ new
@@ -1,7 +1,5 @@
-require File.expand_path('../../spec_helper', __FILE__)
-
describe "Parsi::Date#+" do
it "adds the number of days to a Parsi::Date" do
d = Parsi::Date.civil(1391, 2, 27) + 10
d.should == Parsi::Date.civil(1391, 3, 6)
end
@@ -24,6 +22,6 @@
end
it "raises a TypeError when passed an Object" do
lambda { Parsi::Date.civil(1391, 2, 27) + Object.new }.should raise_error(TypeError)
end
-end
\ No newline at end of file
+end