Adds a test for #23242.

git-svn-id: http://svn.redmine.org/redmine/trunk@15611 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2016-07-09 03:27:51 +00:00
parent 027fe7bb66
commit 07da3dc70c

View File

@@ -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)