From 07da3dc70cc47655ac07294dba714b57e9d61536 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 9 Jul 2016 03:27:51 +0000 Subject: [PATCH] Adds a test for #23242. git-svn-id: http://svn.redmine.org/redmine/trunk@15611 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/wiki_content_version_test.rb | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.39.5