spec/option_spec.rb in slop-0.1.9 vs spec/option_spec.rb in slop-0.2.0
- old
+ new
@@ -42,10 +42,10 @@
opt.argument_value.should == ["foo", "bar"]
opt.argument_value = "foo:bar"
opt.argument_value.should == ["foo:bar"]
end
- it "can use a custom delimited" do
+ it "can use a custom delimiter" do
opt = Slop::Option.new(:as => Array, :delimiter => ':')
opt.argument_value = "foo,bar"
opt.argument_value.should == ["foo,bar"]
opt.argument_value = "foo:bar"
opt.argument_value = ["foo", "bar"]
\ No newline at end of file