glejeune / Ruby-Graphviz

[MIRROR] Ruby interface to the GraphViz graphing tool
https://gitlab.com/glejeune/ruby-graphviz
Other
608 stars 116 forks source link

Added explicitly declaration for Open3 module on GraphVizTest. #130

Closed hsbt closed 7 years ago

hsbt commented 7 years ago

Hi, I got test fail with all of ruby-graphviz tests. Like this:

Failure:
  got exception on sample42.rb: uninitialized constant GraphVizTest::Open3.
  <false> is not true.
test_sample42(GraphVizTest)
/path/to/glejeune/Ruby-Graphviz/test/test_examples.rb:118:in `rescue in assert_sample_file_has_no_output'
/path/to/glejeune/Ruby-Graphviz/test/test_examples.rb:113:in `assert_sample_file_has_no_output'
/path/to/glejeune/Ruby-Graphviz/test/test_examples.rb:90:in `block in make_sample_test_method'

GraphVizTest references Open3. but Open3 is not working without explicit declaration. I fixed it.