Skip to content

Commit aa1d846

Browse files
authored
Update chapter06-improve-json.adoc
1 parent 4abff6f commit aa1d846

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

rails6/en/chapter06-improve-json.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -852,8 +852,6 @@ class ProductTest < ActiveSupport::TestCase
852852
test 'should sort product by most recent' do
853853
# we will touch some products to update them
854854
products(:two).touch
855-
products(:one)
856-
857855
assert_equal [products(:another_tv), products(:one), products(:two)], Product.recent.to_a
858856
end
859857
end

0 commit comments

Comments
 (0)