Sha256: 69975c43c29f89d1c4e665223e8e9475bfc7fcd0d48a16708a0544fb4220d7e0

Contents?: true

Size: 559 Bytes

Versions: 2

Compression:

Stored size: 559 Bytes

Contents

Feature: DamerauLevenshtein 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 => :word_frequency
      """
    Given the Server is running at "test-app"
    When I go to "/2014/05/08/article0.html"
    Then I should see "<h1>Article 0</h1>"
    Then I should see '<blockquote class="algorithm">Middleman::Blog::Similar::Algorithm::WordFrequency</blockquote>'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
middleman-blog-similar-1.1.1 features/word_frequency.feature
middleman-blog-similar-1.1.0 features/word_frequency.feature