spec/parsi-date/step_spec.rb in parsi-date-0.2.6 vs spec/parsi-date/step_spec.rb in parsi-date-0.3.0
- old
+ new
@@ -1,7 +1,5 @@
-require File.expand_path('../../spec_helper', __FILE__)
-
describe "Parsi::Date#step" do
it "steps forward in time" do
ds = Parsi::Date.civil(1391, 10, 11)
de = Parsi::Date.civil(1391, 9, 29)
@@ -47,6 +45,6 @@
count = 0
de.step(ds, -1) do |d|; count += 1; end
count.should == 0
end
-end
\ No newline at end of file
+end