We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b992357 commit e230082Copy full SHA for e230082
support/current_bundle.rb
@@ -18,11 +18,11 @@ def assert_appraisal!
18
19
Possible appraisals are:
20
21
- #{available_appraisals.map { |appraisal| "- #{appraisal.name}\n" }.join}
+ #{available_appraisals.map { |appraisal| " - #{appraisal.name}" }.join("\n")}
22
23
Or to simply go with the latest appraisal, use:
24
25
- bin/rspec #{current_command}
+ bin/rspec #{shell_arguments}
26
MESSAGE
27
end
28
@@ -59,6 +59,10 @@ def current_command
59
Shellwords.join([File.basename($0)] + ARGV)
60
61
62
+ def shell_arguments
63
+ Shellwords.join(ARGV)
64
+ end
65
+
66
class AppraisalNotSpecified < ArgumentError; end
67
68
0 commit comments