Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar
  • Default User Avatar

    WHAT THIS MEANS ??
    I think everithing it´s ok on my code. But keep saying this.
    on simple test it runs OK.

    should return expected results
    expected: [{:id=>1, :name=>"Shoes"}, {:id=>2, :name=>"Clothing"}, {:id=>4, :name=>"Tools"}, {:id=>5, :name=>"Home"}]
    got: [{:id=>1, :name=>"Shoes"}, {:id=>2, :name=>"Clothing"}, {:id=>3, :name=>"Jewelry"}, {:id=>4, :name=>"Tools"}, {:id=>5, :name=>"Home"}]

    (compared using ==)

    Diff:
    @@ -1,5 +1,6 @@
    [{:id=>1, :name=>"Shoes"},
    {:id=>2, :name=>"Clothing"},

    • {:id=>3, :name=>"Jewelry"},
      {:id=>4, :name=>"Tools"},
      {:id=>5, :name=>"Home"}]