diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-08-20 15:41:34 -0700 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-08-20 15:41:34 -0700 |
commit | afb765ad9ef6fd394a9709f6ab519267a761e6ad (patch) | |
tree | 71b8ebe6ecf04d5e469d3e9824191ad33a5e8023 /spec/support/markdown_feature.rb | |
parent | 99ef8c81598ad31922dfbe28c0c56130e01bd13a (diff) | |
download | gitlab-ce-afb765ad9ef6fd394a9709f6ab519267a761e6ad.tar.gz |
Fix markdown specs again. Apparently development and test behave differently.
Diffstat (limited to 'spec/support/markdown_feature.rb')
-rw-r--r-- | spec/support/markdown_feature.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/support/markdown_feature.rb b/spec/support/markdown_feature.rb index cb47d290822..39a64391460 100644 --- a/spec/support/markdown_feature.rb +++ b/spec/support/markdown_feature.rb @@ -9,7 +9,6 @@ # reference to the factory-created objects. class MarkdownFeature include FactoryGirl::Syntax::Methods - include FixtureHelpers def user @user ||= create(:user) @@ -101,7 +100,7 @@ class MarkdownFeature end def raw_markdown - markdown = fixture_file('markdown.md.erb') + markdown = File.read(Rails.root.join('spec/fixtures/markdown.md.erb')) ERB.new(markdown).result(binding) end end |