rspec seems to behave now

This commit is contained in:
2014-08-13 16:06:16 +02:00
parent 3fc7030002
commit d6e7c4998f
7 changed files with 10 additions and 25 deletions
@@ -3,10 +3,6 @@ root.Qsupplier=
watch_events: ->
faye = new Faye.Client(event_host)
faye.subscribe "/supplier/#{supplier_object.id}", (e)=>
<% if Rails.env.development? %>
console.log "Event: #{e.event}"
console.log e.data
<% end %>
if(e.event == 'new_order')
if App
App.store().pushPayload(e.data)