umlify 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/umlify/diagram.rb +1 -1
- data/lib/umlify/version.rb +1 -1
- data/test/diagram_test.rb +1 -1
- metadata +1 -1
data/lib/umlify/diagram.rb
CHANGED
data/lib/umlify/version.rb
CHANGED
data/test/diagram_test.rb
CHANGED
@@ -92,7 +92,7 @@ class DiagramTest < Test::Unit::TestCase
|
|
92
92
|
should "sort the statements so that the class declarations are first, then
|
93
93
|
the inheritance, then the associations" do
|
94
94
|
|
95
|
-
@diagram.statements = ['[Foo]^[Unicorn]',
|
95
|
+
@diagram.statements = ['[Foo]^[Unicorn]', '[Unicorn]-foo 1..*>[Bar]', '[Unicorn|foo_variable|bar_method]']
|
96
96
|
@diagram.compute!
|
97
97
|
assert_equal ['[Unicorn|foo_variable|bar_method]', '[Foo]^[Unicorn]', '[Unicorn]-foo 1..*>[Bar]'], @diagram.statements
|
98
98
|
end
|