spec/lib/gecko-pusher/channel/rag_spec.rb in gecko-pusher-0.0.4 vs spec/lib/gecko-pusher/channel/rag_spec.rb in gecko-pusher-0.0.5
- old
+ new
@@ -13,12 +13,12 @@
end
it "should push RAG values" do
data = {
item: [
- { value: 100 },
- { value: 200 },
- { value: 300 }
+ { value: 100, text: "" },
+ { value: 200, text: "" },
+ { value: 300, text: "" }
]
}
stub = stub_gecko_post(WIDGET_KEY, data)
@channel.push(100, 200, 300)
stub.should have_been_requested