summaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/wiki_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/wiki_test.rb b/test/unit/wiki_test.rb
index 6b0f6d2be..923ff528e 100644
--- a/test/unit/wiki_test.rb
+++ b/test/unit/wiki_test.rb
@@ -56,7 +56,7 @@ class WikiTest < ActiveSupport::TestCase
def test_find_page_with_backslashes
wiki = Wiki.find(1)
- page = WikiPage.generate!(:wiki => wiki, :title => '2009\\02\\09')
+ page = WikiPage.create!(:wiki => wiki, :title => '2009\\02\\09')
assert_equal page, wiki.find_page('2009\\02\\09')
end