Forgot a question mark == broken tests.
This commit is contained in:
parent
e36d433100
commit
2fd155615f
|
@ -105,7 +105,7 @@ module Jekyll
|
||||||
# Returns true if either of the above conditions are satisfied,
|
# Returns true if either of the above conditions are satisfied,
|
||||||
# otherwise returns false
|
# otherwise returns false
|
||||||
def applies_type?(scope, type)
|
def applies_type?(scope, type)
|
||||||
!scope.key('type') || scope['type'].eql?(type.to_s)
|
!scope.key?('type') || scope['type'].eql?(type.to_s)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Checks if a given set of default values is valid
|
# Checks if a given set of default values is valid
|
||||||
|
|
Loading…
Reference in New Issue