File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ defmodule Api.Web.RowsControllerTest do
63
63
"body" => "some body" ,
64
64
"title" => "some title" ,
65
65
"people_id" => person . id ,
66
- "inserted_at" => res . inserted_at # is there a better way to do this?
66
+ "inserted_at" => res [ " inserted_at" ]
67
67
}
68
68
end
69
69
@@ -75,8 +75,6 @@ defmodule Api.Web.RowsControllerTest do
75
75
test "updates chosen row and renders row when data is valid" , % { conn: conn } do
76
76
% Rows { id: id } = rows = fixture ( :rows )
77
77
person = person_fixture ( )
78
- # IO.puts "- - - - - - - person:"
79
- # IO.inspect person
80
78
IO . puts "- - - - - - - person.id:"
81
79
IO . inspect person . id
82
80
@@ -93,7 +91,7 @@ defmodule Api.Web.RowsControllerTest do
93
91
"body" => "some updated body" ,
94
92
"title" => "some updated title" ,
95
93
"people_id" => person . id ,
96
- "inserted_at" => res . inserted_at # is there a better way to do this?
94
+ "inserted_at" => res [ " inserted_at" ]
97
95
}
98
96
end
99
97
You can’t perform that action at this time.
0 commit comments