From 2fd155615f0cdfe659272aa609eac399238eb63f Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Tue, 12 Aug 2014 12:22:48 -0400 Subject: [PATCH] Forgot a question mark == broken tests. --- lib/jekyll/frontmatter_defaults.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jekyll/frontmatter_defaults.rb b/lib/jekyll/frontmatter_defaults.rb index 3f8e7699..8355fa95 100644 --- a/lib/jekyll/frontmatter_defaults.rb +++ b/lib/jekyll/frontmatter_defaults.rb @@ -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