spec/bug_spec.rb in ribimaybe-0.0.11 vs spec/bug_spec.rb in ribimaybe-0.0.12
- old
+ new
@@ -16,10 +16,9 @@
context "when i have nothing" do
it do
x = Nothing
result = case x
when Just
- binding.pry
x.maybe(:x) { |x| x }
when Nothing
:nothing
end
expect(result).to eq(:nothing)