Better Display of Interweb Wikilinks
Perhaps not the most creative use of CSS. But, at least, this will read better.
This commit is contained in:
parent
7b7d2e80dc
commit
e3aa626489
11 changed files with 57 additions and 24 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env ruby
|
||||
# encoding: UTF-8
|
||||
|
||||
require File.expand_path(File.dirname(__FILE__) + '/../../test_helper')
|
||||
require Rails.root.join('test', 'test_helper')
|
||||
require 'chunks/wiki'
|
||||
|
||||
class WikiTest < Test::Unit::TestCase
|
||||
|
@ -115,7 +115,7 @@ class WikiTest < Test::Unit::TestCase
|
|||
# empty link type
|
||||
assert_link_parsed_as 'page name', 'link?:', :show, '[[page name|link?:]]'
|
||||
# unknown link type
|
||||
assert_link_parsed_as 'create_system', 'page name:create_system', :show,
|
||||
assert_link_parsed_as 'create_system', 'create_system', :show,
|
||||
'[[page name:create_system]]'
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue