Feature: DamerauLevenshtein similarity engine Scenario: iterate simlar_articles Given a fixture app "test-app" And a file named "config.rb" with: """ activate :blog do|blog| blog.layout = "article" end activate :similar, :engine => :damerau_levenshtein """ Given the Server is running at "test-app" When I go to "/2014/05/08/article0.html" Then I should see "

Article 0

" Then I should see '
Middleman::Blog::Similar::Engines::DamerauLevenshtein
' Then I should see '
  • Article 5
  • ' Then I should see '
  • Article 1
  • ' Then I should see '
  • Article 4
  • ' Then I should see '
  • Article 2
  • ' Then I should see '
  • Article 6
  • '