diff --git a/lib/spoom/cli/srb/bump.rb b/lib/spoom/cli/srb/bump.rb index 8abfcdab..dcfbf7b0 100644 --- a/lib/spoom/cli/srb/bump.rb +++ b/lib/spoom/cli/srb/bump.rb @@ -186,7 +186,7 @@ def print_changes(files, command:, from: "false", to: "true", dry: false, path: if dry && command say("\nRun `#{command}` to bump #{files_count > 1 ? "them" : "it"}") elsif dry - say("\nRun `spoom bump --from #{from} --to #{to}` locally then `commit the changes` and `push them`") + say("\nRun `spoom srb bump --from #{from} --to #{to}` locally then `commit the changes` and `push them`") end end diff --git a/test/spoom/cli/srb/bump_test.rb b/test/spoom/cli/srb/bump_test.rb index 5c9d0821..ee548599 100644 --- a/test/spoom/cli/srb/bump_test.rb +++ b/test/spoom/cli/srb/bump_test.rb @@ -254,7 +254,7 @@ class A; end Can bump `1` file from `false` to `true`: + file1.rb - Run `spoom bump --from false --to true` locally then `commit the changes` and `push them` + Run `spoom srb bump --from false --to true` locally then `commit the changes` and `push them` OUT refute(result.status) @@ -281,7 +281,7 @@ class A; end + file1.rb + file2.rb - Run `spoom bump --from false --to true` locally then `commit the changes` and `push them` + Run `spoom srb bump --from false --to true` locally then `commit the changes` and `push them` OUT refute(result.status) @@ -367,7 +367,7 @@ def foo(a, b, c); end Can bump `1` file from `false` to `true`: + file1.rb - Run `spoom bump --from false --to true` locally then `commit the changes` and `push them` + Run `spoom srb bump --from false --to true` locally then `commit the changes` and `push them` OUT refute(result.status)