Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
skip viz specs on 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
indirect committed May 14, 2015
1 parent 654e44a commit 7eea38e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/commands/viz_spec.rb
@@ -1,6 +1,6 @@
require "spec_helper"

describe "bundle viz", :if => Bundler.which("dot") do
describe "bundle viz", :if => (Bundler.which("dot") && RUBY_VERSION > "1.8.7") do
let(:graphviz_lib) do
graphviz_glob = base_system_gems.join("gems/ruby-graphviz*/lib")
Dir[graphviz_glob].first
Expand Down
2 changes: 1 addition & 1 deletion spec/support/rubygems_ext.rb
Expand Up @@ -21,7 +21,7 @@ def self.setup
`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`
`gem install ruby-graphviz --no-rdoc --no-ri` if RUBY_VERSION > "1.8.7"
end

ENV['HOME'] = Path.home.to_s
Expand Down

0 comments on commit 7eea38e

Please sign in to comment.