Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix typo in options spec #227

Merged
merged 1 commit into from

2 participants

@rohit

No description provided.

@sferik sferik merged commit d0bf200 into erikhuda:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 4, 2012
  1. @rohit

    fix typo in options spec

    rohit authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/parser/options_spec.rb
View
4 spec/parser/options_spec.rb
@@ -121,13 +121,13 @@ def check_unknown!
check_unknown!
end
- it "excepts underscores in commandline args hash for boolean" do
+ it "accepts underscores in commandline args hash for boolean" do
create :foo_bar => :boolean
parse("--foo_bar")["foo_bar"].should == true
parse("--no_foo_bar")["foo_bar"].should == false
end
- it "excepts underscores in commandline args hash for strings" do
+ it "accepts underscores in commandline args hash for strings" do
create :foo_bar => :string, :baz_foo => :string
parse("--foo_bar", "baz")["foo_bar"].should == "baz"
parse("--baz_foo", "foo bar")["baz_foo"].should == "foo bar"
Something went wrong with that request. Please try again.