summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/viz_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/commands/viz_spec.rb')
-rw-r--r--spec/bundler/commands/viz_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/bundler/commands/viz_spec.rb b/spec/bundler/commands/viz_spec.rb
index b25683bfb3..f8b5f7836e 100644
--- a/spec/bundler/commands/viz_spec.rb
+++ b/spec/bundler/commands/viz_spec.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-RSpec.describe "bundle viz", :bundler => "< 3", :if => Bundler.which("dot"), :realworld => true do
+RSpec.describe "bundle viz", bundler: "< 3", if: Bundler.which("dot"), realworld: true do
before do
realworld_system_gems "ruby-graphviz --version 1.2.5"
end
@@ -15,7 +15,7 @@ RSpec.describe "bundle viz", :bundler => "< 3", :if => Bundler.which("dot"), :re
bundle "viz"
expect(out).to include("gem_graph.png")
- bundle "viz", :format => "debug"
+ bundle "viz", format: "debug"
expect(out).to eq(<<~DOT.strip)
digraph Gemfile {
concentrate = "true";
@@ -49,7 +49,7 @@ RSpec.describe "bundle viz", :bundler => "< 3", :if => Bundler.which("dot"), :re
bundle "viz"
expect(out).to include("gem_graph.png")
- bundle "viz", :format => :debug, :version => true
+ bundle "viz", format: :debug, version: true
expect(out).to eq(<<~EOS.strip)
digraph Gemfile {
concentrate = "true";
@@ -77,7 +77,7 @@ RSpec.describe "bundle viz", :bundler => "< 3", :if => Bundler.which("dot"), :re
end
end
- system_gems "graphviz-999", :gem_repo => gem_repo4
+ system_gems "graphviz-999", gem_repo: gem_repo4
end
it "loads the correct ruby-graphviz gem" do
@@ -87,7 +87,7 @@ RSpec.describe "bundle viz", :bundler => "< 3", :if => Bundler.which("dot"), :re
gem "rack-obama"
G
- bundle "viz", :format => "debug"
+ bundle "viz", format: "debug"
expect(out).to eq(<<~DOT.strip)
digraph Gemfile {
concentrate = "true";