Commit 76e909ea authored by jplang's avatar jplang

Adds a test for #23242.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent c2503279
...@@ -23,6 +23,11 @@ class WikiContentVersionTest < ActiveSupport::TestCase ...@@ -23,6 +23,11 @@ class WikiContentVersionTest < ActiveSupport::TestCase
def setup def setup
end end
def test_should_respond_to_attachments
v = WikiContent::Version.find(2)
assert v.respond_to?(:attachments)
def test_destroy def test_destroy
v = WikiContent::Version.find(2) v = WikiContent::Version.find(2)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment