Commit 7b69e56
committed
(maint) Fix Thor::Command.new arguments
In spec tests, we instantiate Thor::Command to stub command line
arguments.
Thor 1.3.0 was recently released and is automatically pulled into
Facter as it satisfies Facter's current gemspec requirements
(>= 1.0.1, < 2.0).
Thor 1.3.0 includes rails/thor@190f19a which adds a new
wrap_long_description option to Thor::Command. This new option causes
an ArgumentError in current tests because we pass the number of
arguments previous to wrap_long_description being added.
This commit updates spec tests to use all of Thor::Command.new's
arguments.1 parent 538d25b commit 7b69e56
1 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
0 commit comments