test/test_map_layer.rb in myjohndeere-0.0.2 vs test/test_map_layer.rb in myjohndeere-0.0.3
- old
+ new
@@ -46,8 +46,9 @@
ORGANIZATION_ID,
minimum_latitude: 0, minimum_longitude: 0, maximum_latitude: 1, maximum_longitude: 1,
title: "blah",
map_layer_id: "foo", map_legend_items: [MyJohnDeere::MapLegendItem.new("bar", 1, 2, "#0BA74A", 15.0)]
)
- assert_equal MAP_LAYER_ID, response
+ assert_equal MAP_LAYER_ID, response.id
+ assert_equal ORGANIZATION_ID, response.organization_id
end
end
\ No newline at end of file