Sha256: 32bc656b46b2fbd2a01db7af76c76c193fd02920f8023d15a7dff6482550d5f1

Contents?: true

Size: 334 Bytes

Versions: 11

Compression:

Stored size: 334 Bytes

Contents

require 'test/unit'
require 'helper'
require 'webgen/contentprocessor'
require 'webgen/tag'
require 'time'

class TestTagDate < Test::Unit::TestCase

  include Test::WebsiteHelper

  def test_call
    @obj = Webgen::Tag::Date.new
    assert_not_nil(Time.parse(@obj.call('date', '', Webgen::ContentProcessor::Context.new)))
  end

end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
gettalong-webgen-0.5.4.20080929 test/test_tag_date.rb
gettalong-webgen-0.5.5.20081001 test/test_tag_date.rb
gettalong-webgen-0.5.5.20081010 test/test_tag_date.rb
gettalong-webgen-0.5.5.20081012 test/test_tag_date.rb
gettalong-webgen-0.5.6.20081020 test/test_tag_date.rb
webgen-0.5.3 test/test_tag_date.rb
webgen-0.5.2 test/test_tag_date.rb
webgen-0.5.1 test/test_tag_date.rb
webgen-0.5.4 test/test_tag_date.rb
webgen-0.5.6 test/test_tag_date.rb
webgen-0.5.5 test/test_tag_date.rb