spec/requests/monitoring_spec.rb in pulse-meter-rails-0.1.2 vs spec/requests/monitoring_spec.rb in pulse-meter-rails-0.1.3
- old
+ new
@@ -28,12 +28,10 @@
end
def sensor_names_on_tab(tab_id)
found_annotations = []
widgets_on_tab(tab_id).each do |w|
- w["series"].each do |s|
- found_annotations << s["name"]
- end
+ found_annotations += w["series"]["titles"]
end
found_annotations
end
it "returns some groups of widgets" do