daikon 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/daikon.gemspec +1 -1
- data/lib/daikon.rb +1 -1
- data/lib/daikon/configuration.rb +1 -1
- data/spec/configuration_spec.rb +8 -0
- metadata +1 -1
data/daikon.gemspec
CHANGED
data/lib/daikon.rb
CHANGED
data/lib/daikon/configuration.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
@@ -48,6 +48,14 @@ describe Daikon::Configuration do
|
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
51
|
+
it "does not fail if --help option given" do
|
52
|
+
capture do
|
53
|
+
lambda {
|
54
|
+
Daikon::Configuration.new(%w[--help])
|
55
|
+
}.should_not raise_error(SystemExit)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
51
59
|
it "fails if -p option given" do
|
52
60
|
capture do
|
53
61
|
lambda {
|