Commit a87fa7a8 authored by Thong Kuah's avatar Thong Kuah

Fix Ruby 2.7 keyword warning

parent a08b854e
......@@ -29,8 +29,8 @@ module StubbedFeature
end
# Replace #enabled? method with the optional stubbed/unstubbed version.
def enabled?(*args)
feature_flag = super(*args)
def enabled?(*args, **kwargs)
feature_flag = super
return feature_flag unless stub?
# If feature flag is not persisted we mark the feature flag as enabled
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment