test/edtf_humanize_test.rb in edtf-humanize-0.0.6 vs test/edtf_humanize_test.rb in edtf-humanize-0.0.7
- old
+ new
@@ -28,10 +28,10 @@
end
class HumanizeApproximateIntervalTest < ActiveSupport::TestCase
test "should return a humanized approximate interval string" do
d = Date.edtf('1970~/1980~')
- assert_equal "circa 1970 to 1980", d.humanize
+ assert_equal "circa 1970 to circa 1980", d.humanize
end
end
class HumanizeIsoDateTest < ActiveSupport::TestCase
test "should return a humanized ISO date string" do