Sha256: 6ea6377786e9470c4d12027ac7c94c9890606e4dcbe5562e3ee17d478fd8f55b

Contents?: true

Size: 976 Bytes

Versions: 16

Compression:

Stored size: 976 Bytes

Contents

Feature: Nested attributes
  In order to value
  As a role
  I want feature

@javascript
Scenario: Grid with nested attributes
  Given an author exists with first_name: "Vlad", last_name: "Nabokoff"
  And a book exists with title: "Lola", author: that author
  When I go to the BookGridWithNestedAttributes test page
  Then I should see "Vlad" within "#book_grid_with_nested_attributes"
  And I should see "Nabokoff" within "#book_grid_with_nested_attributes"

  When I select first row in the grid
  And I press "Edit in form"
  And I fill in "Author first name:" with "Vladimir"
  And I fill in "Author last name:" with "Nabokov"
  And I fill in "Title:" with "Lolita"
  And I press "OK"

  Then I should see "Nabokov"
  Then an author should exist with first_name: "Vladimir", last_name: "Nabokov"
  And a book should exist with title: "Lolita", author: that author

  But an author should not exist with first_name: "Vlad"
  And a book should not exist with title: "Lola"

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
netzke-basepack-0.8.4 test/basepack_test_app/features/nested_attributes.feature
netzke-basepack-0.8.3 test/basepack_test_app/features/nested_attributes.feature
netzke-basepack-0.8.2 test/basepack_test_app/features/nested_attributes.feature
netzke-basepack-0.8.1 test/basepack_test_app/features/nested_attributes.feature
netzke-basepack-0.8.0 test/basepack_test_app/features/nested_attributes.feature
netzke-basepack-0.7.7 test/basepack_test_app/features/nested_attributes.feature
netzke-basepack-zh-0.7.6 test/basepack_test_app/features/nested_attributes.feature
netzke-basepack-0.7.6 test/basepack_test_app/features/nested_attributes.feature
netzke-basepack-0.7.5 test/basepack_test_app/features/nested_attributes.feature
netzke-basepack-0.7.4 test/basepack_test_app/features/nested_attributes.feature
netzke-basepack-0.7.3 test/basepack_test_app/features/nested_attributes.feature
netzke-basepack-0.7.2 test/basepack_test_app/features/nested_attributes.feature
netzke-basepack-0.7.1 test/basepack_test_app/features/nested_attributes.feature
netzke-basepack-0.6.5 test/rails_app/features/nested_attributes.feature
netzke-basepack-0.7.0 test/rails_app/features/nested_attributes.feature
netzke-basepack-0.6.4 features/nested_attributes.feature