diff options
-rw-r--r-- | spec/commands/viz_spec.rb | 2 | ||||
-rw-r--r-- | spec/support/rubygems_ext.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/commands/viz_spec.rb b/spec/commands/viz_spec.rb index 518625d4..cd77efc1 100644 --- a/spec/commands/viz_spec.rb +++ b/spec/commands/viz_spec.rb @@ -1,6 +1,6 @@ require "spec_helper" -describe "bundle viz", :ruby => "1.9", :if => Bundler.which("dot") do +describe "bundle viz", :ruby => "1.9.3", :if => Bundler.which("dot") do let(:graphviz_lib) do graphviz_glob = base_system_gems.join("gems/ruby-graphviz*/lib") Dir[graphviz_glob].first diff --git a/spec/support/rubygems_ext.rb b/spec/support/rubygems_ext.rb index a39af497..47f660f0 100644 --- a/spec/support/rubygems_ext.rb +++ b/spec/support/rubygems_ext.rb @@ -21,7 +21,7 @@ module Spec `gem install builder --version 2.1.2 --no-rdoc --no-ri` `gem install rack --no-rdoc --no-ri` # ruby-graphviz is used by the viz tests - `gem install ruby-graphviz --no-rdoc --no-ri` if RUBY_VERSION > "1.8.7" + `gem install ruby-graphviz --no-rdoc --no-ri` if RUBY_VERSION >= "1.9.3" end ENV['HOME'] = Path.home.to_s |