Sha256: 97d6bf1ebbc54d0711f576263771dbe2a7475506fa673e9f74c305cbb5b8d012

Contents?: true

Size: 1.02 KB

Versions: 20

Compression:

Stored size: 1.02 KB

Contents

Feature: Draft Posts
  As a hacker who likes to blog
  I want to be able to preview drafts locally
  In order to see if they look alright before publishing

  Scenario: Preview a draft
    Given I have a configuration file with "permalink" set to "none"
    And I have a _drafts directory
    And I have the following draft:
      | title  | date      | layout  | content        |
      | Recipe | 2009-03-27 | default | Not baked yet. |
    When I run jekyll with drafts
    Then the _site directory should exist
    And I should see "Not baked yet." in "_site/recipe.html"

  Scenario: Don't preview a draft
    Given I have a configuration file with "permalink" set to "none"
    And I have an "index.html" page that contains "Totally index"
    And I have a _drafts directory
    And I have the following draft:
      | title  | date      | layout  | content        |
      | Recipe | 2009-03-27 | default | Not baked yet. |
    When I run jekyll
    Then the _site directory should exist
    And the "_site/recipe.html" file should not exist

Version data entries

20 entries across 20 versions & 3 rubygems

Version Path
jekyll-1.5.1 features/drafts.feature
jekyll-1.5.0 features/drafts.feature
tigefa-1.1.3 features/drafts.feature
tigefa-1.1.2 features/drafts.feature
jekyll-2.0.0.alpha.1 features/drafts.feature
tigefa-1.1.1 features/drafts.feature
jekyll-1.4.3 features/drafts.feature
jekyll-1.4.2 features/drafts.feature
jekyll-1.4.1 features/drafts.feature
jekyll-1.4.0 features/drafts.feature
jekyll-1.3.1 features/drafts.feature
jekyll-1.3.0 features/drafts.feature
jekyll-1.3.0.rc features/drafts.feature
monad-0.0.3 features/drafts.feature
jekyll-1.2.1 features/drafts.feature
jekyll-1.2.0 features/drafts.feature
jekyll-1.0.4 features/drafts.feature
jekyll-1.1.2 features/drafts.feature
jekyll-1.1.1 features/drafts.feature
jekyll-1.0.3 features/drafts.feature