]> source.dussan.org Git - redmine.git/commitdiff
Adds a test for #23242.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 9 Jul 2016 03:27:51 +0000 (03:27 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 9 Jul 2016 03:27:51 +0000 (03:27 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@15611 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/wiki_content_version_test.rb

index 79e2166cdb91f2a91128866400cd4029959e372a..86f9fc6c8b4c10fb4a8715d053fc81a23fe96b4e 100644 (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)