@@ -78,12 +78,12 @@ def run_command(options)
7878
7979 it "should print the version for -v" do
8080 run_command ( [ "-v" ] )
81- expect ( stdout ) . to eq ( "#{ ChefCLI ::Dist ::PRODUCT } version: #{ ChefCLI ::VERSION } \n " )
81+ expect ( stdout ) . to eq ( "#{ ChefCLI ::Dist ::CLI_PRODUCT } version: #{ ChefCLI ::VERSION } \n " )
8282 end
8383
8484 it "should print the version for --version" do
8585 run_command ( [ "--version" ] )
86- expect ( stdout ) . to eq ( "#{ ChefCLI ::Dist ::PRODUCT } version: #{ ChefCLI ::VERSION } \n " )
86+ expect ( stdout ) . to eq ( "#{ ChefCLI ::Dist ::CLI_PRODUCT } version: #{ ChefCLI ::VERSION } \n " )
8787 end
8888
8989 it "should run the command passing in the custom options for long custom options" do
@@ -131,7 +131,7 @@ def run_command(options)
131131 -D, --debug Enable stacktraces and other debug output
132132 -h, --help Show this message
133133 -u, --user If the user exists
134- -v, --version Show #{ ChefCLI ::Dist ::PRODUCT } version
134+ -v, --version Show #{ ChefCLI ::Dist ::CLI_PRODUCT } version
135135
136136 E
137137 expect ( stdout ) . to eq ( expected )
@@ -154,7 +154,7 @@ def run_command(options)
154154 -D, --debug Enable stacktraces and other debug output
155155 -h, --help Show this message
156156 -u, --user If the user exists
157- -v, --version Show #{ ChefCLI ::Dist ::PRODUCT } version
157+ -v, --version Show #{ ChefCLI ::Dist ::CLI_PRODUCT } version
158158
159159 E
160160 expect ( stdout ) . to eq ( expected )
0 commit comments