Skip to content

Commit f3c1a9a

Browse files
committed
Fixes mistake in argument_spec.rb wording
1 parent 7bdc802 commit f3c1a9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/parser/argument_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def argument(name, options={})
2020
}.to raise_error(ArgumentError, "Type :unknown is not valid for arguments.")
2121
end
2222

23-
it "raises an error if argument is required and have default values" do
23+
it "raises an error if argument is required and has default values" do
2424
expect {
2525
argument(:command, :type => :string, :default => "bar", :required => true)
2626
}.to raise_error(ArgumentError, "An argument cannot be required and have default value.")

0 commit comments

Comments
 (0)