Feature: Levenshtein similarity algorithm 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, :algorithm => :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::Algorithm::Levenshtein
' Then I should see '
  • Article 5
  • ' Then I should see '
  • Article 1
  • ' Then I should see '
  • Article 4
  • ' Then I should see '
  • Article 6
  • ' Then I should see '
  • Article 2
  • '