diff options
Diffstat (limited to 'spec/support/markdown_feature.rb')
-rw-r--r-- | spec/support/markdown_feature.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/markdown_feature.rb b/spec/support/markdown_feature.rb index c59df4e84d6..39a64391460 100644 --- a/spec/support/markdown_feature.rb +++ b/spec/support/markdown_feature.rb @@ -100,7 +100,7 @@ class MarkdownFeature end def raw_markdown - fixture = Rails.root.join('spec/fixtures/markdown.md.erb') - ERB.new(File.read(fixture)).result(binding) + markdown = File.read(Rails.root.join('spec/fixtures/markdown.md.erb')) + ERB.new(markdown).result(binding) end end |