Sha256: 5bf405b3fa4a1c0497b824cd7e2b8a9622c37859ab6065e874b4d7de1ded0057

Contents?: true

Size: 769 Bytes

Versions: 11

Compression:

Stored size: 769 Bytes

Contents

Feature: Integer fields
  As an editor
  In order to validate my data
  I want to be able to set fields to integers

Background:
  Given I have the site: "test site" set up
  And I have a custom model named "ToDos" with
    | label         | type      | required    |
    | Task          | string    | true        |
    | priority      | integer   | true        |
    
  And I am an authenticated user

@javascript
Scenario:
  And I go to the list of "ToDos"
  And I follow "new entry" within the main content
  And I fill in "Task" with "Buy milk"
  And I fill in "priority" with "one"
  And I press "Create"
  Then I should see "Entry was not created."

  When I fill in "priority" with "1"
  And I press "Create"
  Then I should see "Entry was successfully created."

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
locomotive_cms-2.3.1 features/backoffice/content_types/integer.feature
locomotive_cms-2.3.0 features/backoffice/content_types/integer.feature
locomotive_cms-2.2.3 features/backoffice/content_types/integer.feature
locomotive_cms-2.2.2 features/backoffice/content_types/integer.feature
locomotive_cms-2.2.1 features/backoffice/content_types/integer.feature
locomotive_cms-2.2.0 features/backoffice/content_types/integer.feature
locomotive_cms-2.1.4 features/backoffice/content_types/integer.feature
locomotive_cms-2.1.3 features/backoffice/content_types/integer.feature
locomotive_cms-2.1.2 features/backoffice/content_types/integer.feature
locomotive_cms-2.1.1 features/backoffice/content_types/integer.feature
locomotive_cms-2.1.0 features/backoffice/content_types/integer.feature