Sha256: ac8663e381ea5e003405819f33cc08c5894e4bb3441a5341e3055e1fb06b3212
Contents?: true
Size: 439 Bytes
Versions: 6
Compression:
Stored size: 439 Bytes
Contents
require "test/unit" require "wiki_service" class WikiServiceTest < Test::Unit::TestCase def setup WikiService.restart @s = WikiService.instance @s.create_web "Instiki", "instiki" end def test_read_write_page @s.write_page "instiki", "FirstPage", "Electric shocks, I love 'em", Time.now, "DavidHeinemeierHansson" assert_equal "Electric shocks, I love 'em", @s.read_page("instiki", "FirstPage").content end end
Version data entries
6 entries across 6 versions & 1 rubygems