Sha256: e3281355ec10d34c4bdb128b7c0ea81a60d99835784b9d7a4e83a4487578f5f6

Contents?: true

Size: 795 Bytes

Versions: 2

Compression:

Stored size: 795 Bytes

Contents

Feature: Publish draft CLI command
 Scenario: Publish a new blog draft article with the CLI
   Given a fixture app "drafts-app"
   And I run `middleman draft "My New Article"`
   And I run `middleman publish source/drafts/my-new-article.html.markdown --date 2012-03-07`
   Then the exit status should be 0
   And the following files should exist:
     | source/blog/2012-03-07-my-new-article.html.markdown |
   And the following files should not exist:
     | source/drafts/my-new-article.html.markdown |

  Scenario: Viewing a published article
   Given a fixture app "drafts-app"
   And I run `middleman publish source/drafts/new-draft.html.erb --date 2012-03-07`
   When the Server is running at "drafts-app"
   And I go to "/blog/2012/03/07/new-draft.html"
   Then I should see '2012-03-07'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
middleman-blog-drafts-0.1.0 features/publish_cli.feature
middleman-blog-drafts-0.0.2 features/publish_cli.feature