Sha256: d9a3fefe21037f9197b90746790acebc2499f7c9d9335e5d4ab36f99dbfa8bca

Contents?: true

Size: 685 Bytes

Versions: 6

Compression:

Stored size: 685 Bytes

Contents

Feature: Various edge cases
  Scenario: File remains in form after rails validation error
    Given I am on "/edge_cases/rails_validation_error"
    When I attach the file "image.jpg" to "Image"
    Then I should see a preview of "image.jpg" within the "Image" bard-file
    When I fill in "Number" with "NOT A NUMBER"
    And I press "Submit"

    Then I should not see "Post created!"
    And I should see "Number is not a number"
    And I should see a preview of "image.jpg" within the "Image" bard-file

    When I fill in "Number" with "0"
    And I press "Submit"
    Then I should see "Post created!"
    And I should see a preview of "image.jpg" within the "Image" bard-file

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bard-file_field-0.1.5 dummy/features/edge_cases.feature
bard-file_field-0.1.4 dummy/features/edge_cases.feature
bard-file_field-0.1.3 dummy/features/edge_cases.feature
bard-file_field-0.1.2 dummy/features/edge_cases.feature
bard-file_field-0.1.1 dummy/features/edge_cases.feature
bard-file_field-0.1.0 dummy/features/edge_cases.feature