Forgot a question mark == broken tests.

This commit is contained in:
Parker Moore 2014-08-12 12:22:48 -04:00
parent e36d433100
commit 2fd155615f
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ module Jekyll
# Returns true if either of the above conditions are satisfied,
# otherwise returns false
def applies_type?(scope, type)
!scope.key('type') || scope['type'].eql?(type.to_s)
!scope.key?('type') || scope['type'].eql?(type.to_s)
end
# Checks if a given set of default values is valid