summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-08-20 15:37:43 -0700
committerDouwe Maan <douwe@gitlab.com>2015-08-20 15:37:43 -0700
commit99ef8c81598ad31922dfbe28c0c56130e01bd13a (patch)
tree61f315184a9fee7d88abdbd171431ecff9e167d1
parentf26c2905d198436ea4c4b7f26c6971edd4ff8049 (diff)
downloadgitlab-ce-99ef8c81598ad31922dfbe28c0c56130e01bd13a.tar.gz
Fix markdown specs.
-rw-r--r--lib/gitlab/reply_by_email.rb2
-rw-r--r--spec/support/markdown_feature.rb1
2 files changed, 2 insertions, 1 deletions
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)