Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rails6/en/chapter08-improve-orders.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ First we update the `orders_controller_test` file:
# ...
class Api::V1::OrdersControllerTest < ActionDispatch::IntegrationTest
setup do
@order = products(:one)
@order = orders(:one)
@order_params = {
order: {
product_ids_and_quantities: [
Expand Down
2 changes: 1 addition & 1 deletion rails6/es/chapter08-improve-orders.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Primero actualizamos el archivo `orders_controller_test`:
# ...
class Api::V1::OrdersControllerTest < ActionDispatch::IntegrationTest
setup do
@order = products(:one)
@order = orders(:one)
@order_params = {
order: {
product_ids_and_quantities: [
Expand Down
2 changes: 1 addition & 1 deletion rails6/fr/chapter08-improve-orders.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Tout d'abord, nous mettons à jour le fichier `orders_controller_test`:
# ...
class Api::V1::OrdersControllerTest < ActionDispatch::IntegrationTest
setup do
@order = products(:one)
@order = orders(:one)
@order_params = {
order: {
product_ids_and_quantities: [
Expand Down