diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-07-09 03:27:51 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-07-09 03:27:51 +0000 |
commit | 07da3dc70cc47655ac07294dba714b57e9d61536 (patch) | |
tree | e50edf4408d33c4766dfd3df14eb74f85fe7288b /test/unit | |
parent | 027fe7bb6622b3daea09028ca9f06fe094cd3b53 (diff) | |
download | redmine-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.rb | 5 |
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) |