Skip to content

Commit

Permalink
Disable RDiscount extension test (flaky)
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdefreyne committed May 20, 2016
1 parent d696b50 commit 603e4b8
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions test/filters/test_rdiscount.rb
Expand Up @@ -10,16 +10,17 @@ def test_filter
end
end

def test_with_extensions
if_have 'rdiscount' do
# Create filter
filter = ::Nanoc::Filters::RDiscount.new

# Run filter
input = "The quotation 'marks' sure make this look sarcastic!"
output_expected = /The quotation ‘marks’ sure make this look sarcastic!/
output_actual = filter.setup_and_run(input, extensions: [:smart])
assert_match(output_expected, output_actual)
end
end
# FIXME: Re-enable this test (flaky; quotation marks are not transformed consistently)
# def test_with_extensions
# if_have 'rdiscount' do
# # Create filter
# filter = ::Nanoc::Filters::RDiscount.new
#
# # Run filter
# input = "The quotation 'marks' sure make this look sarcastic!"
# output_expected = /The quotation ‘marks’ sure make this look sarcastic!/
# output_actual = filter.setup_and_run(input, extensions: [:smart])
# assert_match(output_expected, output_actual)
# end
# end
end

0 comments on commit 603e4b8

Please sign in to comment.