Sha256: 1434d08d52a7b28bbf6898c80f03d41032db7a33f008408e2f03b250971f2b80

Contents?: true

Size: 819 Bytes

Versions: 4

Compression:

Stored size: 819 Bytes

Contents

Feature: Update existing post
  As a blog owner
  In order to protect by site from malicious users
  I want to authorize who can destroy an existing post
  
  Background:
    Given I have published a post called "Post title"
  
  Scenario: Destroy post when not authorized
    Given I am not authorized
    When I look at the "Post title" post
    Then I should not see "Destroy"

  Scenario: Destroy post when authorized
    Given I am authorized
    When I look at the "Post title" post
    Then I should see "Destroy"

  Scenario: Destroy from main page when authorized
    Given I am authorized
    When I am on the posts page
    Then I should see "Destroy"
  
  Scenario: Destroy from main page when not authorized
    Given I am not authorized
    When I am on the posts page
    Then I should not see "Destroy"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mist-0.6.3 features/authorize_destroy_post.feature
mist-0.6.2 features/authorize_destroy_post.feature
mist-0.6.1 features/authorize_destroy_post.feature
mist-0.6.0 features/authorize_destroy_post.feature