This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ cucumber --profile wip | |
| Using the wip profile... | |
| Feature: Manage locations | |
| In order to manage locations | |
| As a user | |
| I want to create and edit my locations. | |
| @wip | |
| Scenario: Create a new location # features/manage_locations.feature:19 | |
| Given I am on new location page # features/step_definitions/location_steps.rb:22 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <p><%= @location.name %></p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ cucumber --profile wip | |
| Using the wip profile... | |
| Feature: Manage locations | |
| In order to manage locations | |
| As a user | |
| I want to create and edit my locations. | |
| @wip | |
| Scenario: Create a new location # features/manage_locations.feature:19 | |
| Given I am on new location page # features/step_definitions/location_steps.rb:22 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @wip | |
| Scenario: Create a new location | |
| Given I am on the es site | |
| And I am on new location page | |
| And I fill in "Nombre" with "Shiny location" | |
| When I press "crear" | |
| Then I should see "Shiny location" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ cucumber --profile wip | |
| Using the wip profile... | |
| Feature: Manage locations | |
| In order to manage locations | |
| As a user | |
| I want to create and edit my locations. | |
| @wip | |
| Scenario: Create a new location # features/manage_locations.feature:19 | |
| Given I am on new location page # features/step_definitions/location_steps.rb:22 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%= form_for(@location) do |f| %> | |
| <p> | |
| <%= f.label :name, t('.name_html') %> | |
| <%= f.text_field :name %> | |
| </p> | |
| <p> | |
| <%= f.submit %> | |
| </p> | |
| <% end %> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| en: | |
| locations: | |
| index: | |
| title_html: "Locations" | |
| new: | |
| name_html: "Name" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| es: | |
| locations: | |
| index: | |
| title_html: "Locaciones" | |
| new: | |
| name_html: "Nombre" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ cucumber --profile wip | |
| Using the wip profile... | |
| Feature: Manage locations | |
| In order to manage locations | |
| As a user | |
| I want to create and edit my locations. | |
| @wip | |
| Scenario: Create a new location # features/manage_locations.feature:19 | |
| Given I am on new location page # features/step_definitions/location_steps.rb:22 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <p> | |
| <%= f.button t('.button_html') %> | |
| </p> |