Sha256: 3b0d39b02daa98e48dd93dd537b20e64e7d8671880dbe99f9c669d565c8d60dc
Contents?: true
Size: 629 Bytes
Versions: 17
Compression:
Stored size: 629 Bytes
Contents
require File.expand_path('../test_helper', __FILE__) require File.expand_path('../test_plugin_helper', __FILE__) module EmptyRenderingTests def setup load_plugin('misc/plugin/weather.rb', language, binding) @weather = Weather.new end def test_empty_rendering_to_html assert_equal('', @weather.to_html) end def test_empty_rendering_to_i_html assert_equal('', @weather.to_i_html) end end class TestEmptyRenderingEn < TDiary::PluginTestCase include EmptyRenderingTests def language "en" end end class TestEmptyRenderingJa < TDiary::PluginTestCase include EmptyRenderingTests def language "ja" end end
Version data entries
17 entries across 17 versions & 1 rubygems