spec/option_spec.rb in option-0.1.1 vs spec/option_spec.rb in option-0.2.0
- old
+ new
@@ -157,6 +157,10 @@
end
it "must return a None if the passed value is nil" do
Option(nil).must_equal(None)
end
+
+ it "should do equality checks against the boxed value" do
+ Option(value).must_equal(value)
+ end
end