Sha256: 95ca560a37035b24ea4576b2de2feb1c14c6081dcfedf919d67d335c4f401ba8
Contents?: true
Size: 290 Bytes
Versions: 4
Compression:
Stored size: 290 Bytes
Contents
# -*- encoding: utf-8 -*- require './spec/helper' describe NewsUtils do describe "#get_date_from_filename" do it "should get the date from a news filename" do result = NewsUtils.get_date_from_filename "2011-10-01.html" result.should eql "2011-10-01" end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
genit-2.1 | spec/news_utils_spec.rb |
genit-2.0 | spec/news_utils_spec.rb |
genit-1.0.1 | spec/news_utils_spec.rb |
genit-1.0 | spec/news_utils_spec.rb |