removing unnecessary test
git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@57 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7master
parent
4f496fa0b2
commit
d487f8457b
|
@ -11,12 +11,6 @@ class PageTest < Test::Unit::TestCase
|
||||||
assert_destroy('Page')
|
assert_destroy('Page')
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_no_html_in_tag
|
|
||||||
p = Page.new :title => 'test page', :redcloth => '<ul><li>list</li></ul>'
|
|
||||||
p.save
|
|
||||||
assert p.html !~ /ul/
|
|
||||||
end
|
|
||||||
|
|
||||||
def test_url_titles
|
def test_url_titles
|
||||||
p = Page.new :title => 'Test Title'
|
p = Page.new :title => 'Test Title'
|
||||||
assert Page.title_from_url('Test_Title') == p.title
|
assert Page.title_from_url('Test_Title') == p.title
|
||||||
|
|
Reference in New Issue