Permalink
Browse files

Merge pull request #130 from hsbt/fixed-broken-test-suite

Added explicitly declaration for Open3 module on GraphVizTest.
  • Loading branch information...
2 parents 990d078 + 399cb5a commit 3bcdc6ec6fabff4e734eb140e9f328ffeb088906 @glejeune committed Aug 20, 2017
Showing with 3 additions and 1 deletion.
  1. +3 −1 test/test_examples.rb
View
@@ -1,3 +1,5 @@
+require 'open3'
+
class GraphVizTest < Test::Unit::TestCase
# you can run a subset of all the samples like this:
# ruby test/test_examples.rb --name='/sample3[6-9]/'
@@ -96,7 +98,7 @@ def make_sample_test_method path
FileUtils.rm_rf OutputDir
end
FileUtils.cp_r ExampleDir, OutputDir
-
+
samples = Dir[File.join(OutputDir,'sample*.rb')].sort
samples.each {|path| make_sample_test_method(path) }

0 comments on commit 3bcdc6e

Please sign in to comment.