From 99ef8c81598ad31922dfbe28c0c56130e01bd13a Mon Sep 17 00:00:00 2001 From: Douwe Maan <douwe@gitlab.com> Date: Thu, 20 Aug 2015 15:37:43 -0700 Subject: [PATCH] Fix markdown specs. --- lib/gitlab/reply_by_email.rb | 2 +- spec/support/markdown_feature.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/gitlab/reply_by_email.rb b/lib/gitlab/reply_by_email.rb index 61d048fd200..4fdeb6b8a74 100644 --- a/lib/gitlab/reply_by_email.rb +++ b/lib/gitlab/reply_by_email.rb @@ -7,7 +7,7 @@ module Gitlab def address_formatted_correctly? config.address && - config.address.include?("%{reply_key}") + config.address.include?("%{reply_key}") end def reply_key diff --git a/spec/support/markdown_feature.rb b/spec/support/markdown_feature.rb index f8b2ce03e6c..cb47d290822 100644 --- a/spec/support/markdown_feature.rb +++ b/spec/support/markdown_feature.rb @@ -9,6 +9,7 @@ # reference to the factory-created objects. class MarkdownFeature include FactoryGirl::Syntax::Methods + include FixtureHelpers def user @user ||= create(:user) -- GitLab