Sha256: dcc734859a1fa9087d7b1c1a37bcaa1f3161a944d12af453483cb7291a1a6933
Contents?: true
Size: 809 Bytes
Versions: 4
Compression:
Stored size: 809 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
4 entries across 4 versions & 1 rubygems