Sha256: e57c70ae69775769a38ab773c01e80e67a0b780fa61861bac0449a4166399c85

Contents?: true

Size: 614 Bytes

Versions: 6

Compression:

Stored size: 614 Bytes

Contents

@dsl @javascript
Feature: In place edit

  Background:
    Given I am logged in
    And a product with sku "sofa-12"
    And a configuration of:
      """
      class AbAdminProduct < AbAdmin::AbstractResource
        table do
          field :sku, :editable => true
          field :name
          field :created_at
        end
      end
      """
    And I am on the admin products page

  Scenario: In place edit field
    When I click "sofa-12"
    And I fill in place with "sofa_new"
    And I submit in place form
    Then I should see "sofa_new"

    When I reload the page
    Then I should see "sofa_new"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ab_admin-0.2.3 features/dsl/in_place_edit.feature
ab_admin-0.2.2 features/dsl/in_place_edit.feature
ab_admin-0.2.1 features/dsl/in_place_edit.feature
ab_admin-0.2.0 features/dsl/in_place_edit.feature
ab_admin-0.1.2 features/dsl/in_place_edit.feature
ab_admin-0.1.1 features/dsl/in_place_edit.feature