diff --git a/core/spec/models/spree/preferences/statically_configurable_spec.rb b/core/spec/models/spree/preferences/statically_configurable_spec.rb index 51a8819e538..e5aab61a9ff 100644 --- a/core/spec/models/spree/preferences/statically_configurable_spec.rb +++ b/core/spec/models/spree/preferences/statically_configurable_spec.rb @@ -14,7 +14,7 @@ def initialize end def [](key) - return @preferences if key == :preferences + @preferences if key == :preferences end end end