Sha256: d88bdf4da5b66b8853380704f14a6ef698fc9fd6f4e134be556b808a6e100948

Contents?: true

Size: 806 Bytes

Versions: 4

Compression:

Stored size: 806 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 update an existing post
  
  Background:
    Given I have published a post called "Post title"
  
  Scenario: Change post when not authorized
    Given I am not authorized
    When I look at the "Post title" post
    Then I should not see "Edit"

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

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