Sha256: 2f0810eb50b8cb11befa19eaf4fc3cacb58952d2111826f1895ceb883cad76cc

Contents?: true

Size: 270 Bytes

Versions: 6

Compression:

Stored size: 270 Bytes

Contents

require 'webgen/test'
require 'time'

class DateTagTest < Webgen::TagTestCase

  plugin_files [
    'webgen/plugins/tags/date.rb',
  ]
  plugin_to_test 'Tag/Date'


  def test_process_tag
    assert_not_nil( Time.parse( @plugin.process_tag( 'date', nil ) ) )
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
webgen-0.4.2 test/unittests/tc_tags_date.rb
webgen-0.4.3 test/unittests/tc_tags_date.rb
webgen-0.4.4 test/unittests/tc_tags_date.rb
webgen-0.4.5 test/unittests/tc_tags_date.rb
webgen-0.4.7 test/unittests/tc_tags_date.rb
webgen-0.4.6 test/unittests/tc_tags_date.rb