Sha256: c0d991c41e0a8274e4067b68cf9fb6d96a94446f1f1a546151d4e9f163d7e479

Contents?: true

Size: 591 Bytes

Versions: 4

Compression:

Stored size: 591 Bytes

Contents

Feature: Undo
  Because I am human and make mistakes
  An admin
  Should be able to undo actions they make

  Scenario: delete a comment, then undo it
    Given I am logged in
    And the following comment exists:
      | body              |
      | Accidental Delete |
    When I go to /admin
    And I follow "Comments"
    And I press "Delete Comment"
    # Not sure why this doesn't redirect automatically
    # And I follow "redirected"
    And I follow "Actions"
    And I press "Undo"
    Then a comment exists with attributes:
      | body              |
      | Accidental Delete |

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enki-engine-0.0.5 features/admin_undo.feature
enki-engine-0.0.4 features/admin_undo.feature
enki-engine-0.0.3 features/admin_undo.feature
enki-engine-0.0.2 features/admin_undo.feature