spec/mock_rack_app.rb in eeny-meeny-2.1.1 vs spec/mock_rack_app.rb in eeny-meeny-2.1.2
- old
+ new
@@ -13,9 +13,10 @@
end
def [](key)
@env[key]
end
+ alias_method :fetch, :[]
def []=(key,value)
@env[key] = value
end
end