Sha256: a378aee77ee014ad02ed88a14aaccfb76623475203ed48f35f2fb7d4e5fd9768

Contents?: true

Size: 757 Bytes

Versions: 15

Compression:

Stored size: 757 Bytes

Contents

Feature: Accounts
  In order to manage accounts programmatically
  As an API user
  I will be able to create and update content entries

  Background:
    Given I have the site: "test site" set up with id: "4f832c2cb0d86d3f42fffffb"

  Scenario: Creating a new account
    Given I have an "admin" API token
    When I do an API POST to accounts.json with:
    """
    {
      "account": {
        "name": "New User",
        "email": "new-user4@a.com",
        "password": "asimpleone",
        "password_confirmation": "asimpleone"
      }
    }
    """
    When I do an API GET request to accounts.json
    Then the JSON response should be an array
    And the JSON response should have 2 entries
    And the JSON response at "1/name" should be "New User"

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
locomotive_cms-2.3.1 features/api/accounts.feature
locomotive_cms-2.3.0 features/api/accounts.feature
locomotive_cms-2.2.3 features/api/accounts.feature
locomotive_cms-2.2.2 features/api/accounts.feature
locomotive_cms-2.2.1 features/api/accounts.feature
locomotive_cms-2.2.0 features/api/accounts.feature
locomotive_cms-2.1.4 features/api/accounts.feature
locomotive_cms-2.1.3 features/api/accounts.feature
locomotive_cms-2.1.2 features/api/accounts.feature
locomotive_cms-2.1.1 features/api/accounts.feature
locomotive_cms-2.1.0 features/api/accounts.feature
locomotive_cms-2.0.3 features/api/accounts.feature
locomotive_cms-2.0.2 features/api/accounts.feature
locomotive_cms-2.0.1 features/api/accounts.feature
locomotive_cms-2.0.0 features/api/accounts.feature