Sha256: 6738f984c08154ca61e5ca7a0b7449e3347f4b85c72ff2ff997bc2a7e2f976b0
Contents?: true
Size: 1.86 KB
Versions: 8
Compression:
Stored size: 1.86 KB
Contents
Feature: CRUD show Background: When configured to display only 2 records per page When configured to display City column :name as "City Name" Scenario: show Given a user exists Given I visit user show page Then I should notice id of the last person Then I should see "Edit" Then I should see "Delete" Then I should see "Destroy" Then I should see crud show tabular attributes Scenario: show for Newspaper which has primary key as paper_id Given a newspaper exists Given I visit newspaper show page Then I should see "Edit" Scenario: show with has_one association info Given the following user exists: | first name | last name | | Mary | Jane | Given the following website exists: | url | user | | www.google.com | first name:Mary | Given I visit user show page Then I should see "website" When I follow "website" Then I should notice id of website of the last person When I follow "user" Then I should notice id of the last person Scenario: show with has_many association info Given the following user exists: | first name | last name | | Mary | Jane | Given the following phone number exists: | number | user | | 123-456-7890 | first name:Mary | | 123-456-7899 | first name:Mary | Given I visit user show page Then I should see "phone_numbers(2)" When I follow "phone_numbers(2)" Then I should see "has 2 phone_numbers" Scenario: show with habtm association info Given the following user exists: | first name | last name | | Mary | Jane | Given user owns two clubs "sun-shine" and "rise-n-shine" Given I visit user show page Then I should see "clubs(2)" When I follow "clubs(2)" Then I should see "has 2 clubs"
Version data entries
8 entries across 8 versions & 2 rubygems