@@ -23,6 +23,11 class WikiContentVersionTest < ActiveSupport::TestCase | |||||
23 | def setup |
|
23 | def setup | |
24 | end |
|
24 | end | |
25 |
|
25 | |||
|
26 | def test_should_respond_to_attachments | |||
|
27 | v = WikiContent::Version.find(2) | |||
|
28 | assert v.respond_to?(:attachments) | |||
|
29 | end | |||
|
30 | ||||
26 | def test_destroy |
|
31 | def test_destroy | |
27 | v = WikiContent::Version.find(2) |
|
32 | v = WikiContent::Version.find(2) | |
28 |
|
33 |
General Comments 0
You need to be logged in to leave comments.
Login now