summaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-09 03:27:51 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-09 03:27:51 +0000
commit07da3dc70cc47655ac07294dba714b57e9d61536 (patch)
treee50edf4408d33c4766dfd3df14eb74f85fe7288b /test/unit
parent027fe7bb6622b3daea09028ca9f06fe094cd3b53 (diff)
downloadredmine-07da3dc70cc47655ac07294dba714b57e9d61536.tar.gz
redmine-07da3dc70cc47655ac07294dba714b57e9d61536.zip
Adds a test for #23242.
git-svn-id: http://svn.redmine.org/redmine/trunk@15611 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/wiki_content_version_test.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/wiki_content_version_test.rb b/test/unit/wiki_content_version_test.rb
index 79e2166cd..86f9fc6c8 100644
--- a/test/unit/wiki_content_version_test.rb
+++ b/test/unit/wiki_content_version_test.rb
@@ -23,6 +23,11 @@ class WikiContentVersionTest < ActiveSupport::TestCase
def setup
end
+ def test_should_respond_to_attachments
+ v = WikiContent::Version.find(2)
+ assert v.respond_to?(:attachments)
+ end
+
def test_destroy
v = WikiContent::Version.find(2)