diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-03-04 12:29:52 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-03-04 12:29:52 +0000 |
commit | 1b923819e8305bfe324c9c59e745f61c9c49ef06 (patch) | |
tree | 3acd758bc119e68b2c41dcfb9d6b35d163d4d64b /test/unit/wiki_test.rb | |
parent | 7dbc3e4774f2c405a7f2784c93160066a6c88303 (diff) | |
download | redmine-1b923819e8305bfe324c9c59e745f61c9c49ef06.tar.gz redmine-1b923819e8305bfe324c9c59e745f61c9c49ef06.zip |
Removed some generate! calls.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9079 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/wiki_test.rb')
-rw-r--r-- | test/unit/wiki_test.rb | 2 |
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 |