spec/parser/arguments_spec.rb in thor-0.13.1 vs spec/parser/arguments_spec.rb in thor-0.13.2
- old
+ new
@@ -40,10 +40,10 @@
parse.must == {}
end
it "and required arguments raises an error" do
create :string => nil, :numeric => nil
- lambda { parse }.must raise_error(Thor::RequiredArgumentMissingError, "no value provided for required arguments 'string', 'numeric'")
+ lambda { parse }.must raise_error(Thor::RequiredArgumentMissingError, "No value provided for required arguments 'string', 'numeric'")
end
it "and default arguments returns default values" do
create :string => "name", :numeric => 13
parse.must == { "string" => "name", "numeric" => 13 }